[Tickets #4668] Re: unable to create groups with ldap
bugs@bugs.horde.org
bugs at bugs.horde.org
Mon Nov 20 04:21:29 PST 2006
DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.
Ticket URL: http://bugs.horde.org/ticket/?id=4668
-----------------------------------------------------------------------
Ticket | 4668
Updated By | pascal at vmfacility.fr
Summary | unable to create groups with ldap
Queue | Horde Framework Packages
Version | HEAD
Type | Bug
State | Assigned
Priority | 2. Medium
Owners | Ben Chavet
-----------------------------------------------------------------------
pascal at vmfacility.fr (2006-11-20 04:21) wrote:
humm I found the gidnumber bug problem.
In _nextGid() 0 is returned if no groups are found.
but in _toAttributes() the empty test on 0 makes gidnumber become ' '
because 0 is considered empty by php empty() function.
I patched _nextGid() to return 1 instead of zero and voila I can now add
the first group.
I think a new confguration parameter could be added like first_gidnumber
maybe for posixgroups.
So here is the final patch I made.
More information about the bugs
mailing list