[Tickets #6362] Group LDAP backend returns error for "Empty result"
bugs at horde.org
bugs at horde.org
Mon Mar 3 13:53:13 UTC 2008
DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.
Ticket URL: http://bugs.horde.org/ticket/6362
-----------------------------------------------------------------------
Ticket | 6362
Created By | asmarre at ull.es
Summary | Group LDAP backend returns error for "Empty result"
Queue | Horde Framework Packages
Version | HEAD
Type | Enhancement
State | New
Priority | 1. Low
Milestone |
Patch |
Owners |
+New Attachment | group_ldap_empty_result_ok.diff
-----------------------------------------------------------------------
asmarre at ull.es (2008-03-03 08:53) wrote:
The function getGroupMemberships of the Horde/Group/ldap.php returns an
error where the result of a query is empty. I'm not sure if this behaviour
is correct, I manage a LDAP where the majority of the users don't are
members of a group (but have a primaryGroup attribute in their user
entry).
I suggest to return array(); instead of the error.
I attach a patch for the version 1.18.2.2 of the file (I hope it will be
ok for newer versions).
More information about the bugs
mailing list