6.0.0-beta1
▾
Tasks
New Task
Search
Photos
Wiki
▾
Tickets
New Ticket
Search
dev.horde.org
Toggle Alerts Log
Help
11/10/25
H
istory
A
ttachments
C
omment
W
atch
Download
Comment on [#4668] unable to create groups with ldap
*
Your Email Address
*
Spam protection
Enter the letters below:
.__..__..__.\ /.__ | |[__]| | >< [__) |__\| ||__|/ \[__)
Comment
> I tried to add a group using ldap and experimented a ldap syntax > error when I have more than one value in field > $conf['group']['params']['newgroup_objectclass'] (like > array('posixGroup', 'hordeGroup') ). > > > > Looking at the code lib/Horde/Group/ldap.php I found what I think is a bug. > > With the following patch, I can create groups and modify them: > > > > # diff -u lib/Horde/Group/ldap.php.org lib/Horde/Group/ldap.php > > --- lib/Horde/Group/ldap.php.org 2006-11-16 01:30:46.000000000 +0100 > > +++ lib/Horde/Group/ldap.php 2006-11-16 01:31:18.000000000 +0100 > > @@ -43,7 +43,7 @@ > > $this->_params['gid'] = strtolower($this->_params['gid']); > > $this->_params['memberuid'] = > strtolower($this->_params['memberuid']); > > foreach ($this->_params['newgroup_objectclass'] as $key => $val) { > > - $this->_params['newgroup_objectclass'][$key] = strtolower($val); > > + $this->_params['objectclass'][$key] = strtolower($val); > > } > > > > /* Generate LDAP search filter. */ > > > >
Attachment
Watch this ticket
N
ew Ticket
M
y Tickets
S
earch
Q
uery Builder
R
eports
Saved Queries
Open Bugs
Bugs waiting for Feedback
Open Bugs in Releases
Open Enhancements
Enhancements waiting for Feedback
Bugs with Patches
Enhancements with Patches
Release Showstoppers
Stalled Tickets
New Tickets
Horde 5 Showstoppers