[Tickets #6362] Re: Group LDAP backend returns error for "Empty result"

bugs at horde.org bugs at horde.org
Wed Nov 5 13:37:46 UTC 2008


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/6362
------------------------------------------------------------------------------
  Ticket             | 6362
  Updated By         | kris at kayell.com
  Summary            | Group LDAP backend returns error for "Empty result"
  Queue              | Horde Framework Packages
  Version            | HEAD
  Type               | Enhancement
  State              | Resolved
  Priority           | 1. Low
  Milestone          |
  Patch              |
  Owners             | Chuck Hagenbuch
------------------------------------------------------------------------------


kris at kayell.com (2008-11-05 08:37) wrote:

This isn't showing up in version 3.3. I had to apply the patch to this  
version to get rid of that message.

> 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