[dev] Fix for empty LDAP searches returning no entries in
Turba (resend)
Chuck Hagenbuch
chuck at horde.org
Wed Oct 22 13:58:18 PDT 2003
Quoting "Robin H. Johnson" <robbat2 at gentoo.org>:
> The problem here is the filter expression "(|(cn=**))". This query run
> against an LDAP database does NOT return any items. The filter SHOULD be
> "(|(cn=*))" [note only a single '*'].
There was no patch attached to this email. I've fixed the issue you describe in
lib/LDAP.php.
However, the correct fix for the clients list situation is to have the clients
api call list(), not search(), when you want a list. Only search when you have
some criteria...
-chuck
--
Charles Hagenbuch, <chuck at horde.org>
Born right the first time.
More information about the dev
mailing list