[Tickets #2610] ldap auth driver does not list users

bugs@bugs.horde.org bugs at bugs.horde.org
Fri Sep 16 12:01:44 PDT 2005


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

Ticket URL: http://bugs.horde.org/ticket/?id=2610
-----------------------------------------------------------------------
 Ticket             | 2610
 Updated By         | s.pamies at banality.de
 Summary            | ldap auth driver does not list users
 Queue              | Horde Framework Packages
 Version            | HEAD
 State              | Feedback
 Priority           | 2. Medium
 Type               | Bug
 Owners             | 
-----------------------------------------------------------------------


s.pamies at banality.de (2005-09-16 12:01) wrote:

> This patch doesn't make any sense. Can please explain *exactly* what 
> you're trying to fix?

Ok - let's suppose that your $filter is something like this:
(&(objectClass=posixAccount)(uid=%u@%d))

In our installation this is needed to correctly resolve usernames at login
(our login names include the domain -> support at banality.de). But when you
want to list available users (Configuration->Users), then you do not want to
have the uid query part, because ldap_search yields no result w/o %u and %d
replacements and they also make no sense for searching.

Resumee: 

a) We want that filter string for login
b) We do _not_ want the uid part upon listUsers() operation, so we try to
recognize such (for search purposes malformed) filter strings in listUsers()
and extract only the objectClass part.




More information about the bugs mailing list