6.0.0-beta1
9/25/25

[#2394] LDAP based groupmanagement
Summary LDAP based groupmanagement
Queue Horde Framework Packages
Queue Version HEAD
Type Bug
State Resolved
Priority 2. Medium
Owners ben (at)
Requester gwprojekt (at) gmx (dot) de
Created 08/05/2005 (7356 days ago)
Due
Updated 08/06/2005 (7355 days ago)
Assigned 08/05/2005 (7356 days ago)
Resolved 08/06/2005 (7355 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
08/06/2005 03:37:53 AM ben State ⇒ Resolved
 
08/06/2005 03:37:40 AM ben Comment #3 Reply to this comment
Fixed in CVS
08/05/2005 02:30:50 PM Jan Schneider Comment #2
Assigned to ben
State ⇒ Feedback
Reply to this comment
Please attach your fixes as a patch, not the complete code.
08/05/2005 02:16:34 PM gwprojekt (at) gmx (dot) de Comment #1
State ⇒ Unconfirmed
Priority ⇒ 2. Medium
Type ⇒ Bug
Summary ⇒ LDAP based groupmanagement
Queue ⇒ Horde Framework Packages
New Attachment: horde_update.txt Download
Reply to this comment
I found two bugs in the groupmanagement based on ldap.



first:

if the group has only one member, the memberlist doesn't work cause 
the return value of "function listUsers($dn)" in Horde/Group/ldap.php 
is a string not an array



second:

i couldn't add new member to an existing group, because of a mistake 
in "function updateGroup($group)" in Horde/Group/ldap.php.

The array $entry hast two subarrays: $entry['memberuid'] and 
$entry['memberUid']. In my case the $entry['memberUid'] is worthless 
because ldap inserts all members listed in $entry['memberuid'] and 
ignore the value with the uid of the new member in $entry['memberUid'].



I created a workaround with comments for it too (attachement), but in 
both cases there must be better solutions.



Deleting of members of the group doesn't work, too, but i had no time 
to fix it.

i apologize for my bad english.

Saved Queries