[horde] Application passwd - filter for LDAP

Jan Schneider jan at horde.org
Thu Mar 12 19:36:58 UTC 2020


Zitat von Edi Šuc <edi at guru.si>:

> Hi there.
>
> Does the LDAP backend use the "filter" field? To me it seems that it
> doesn't.
>
>         // Use this filter when searching for the user's DN.
>         'filter' => '',
>
> Kind regards,
> Edi

Indeed, the DN is build in this order:
1) 'userdn' parameter in backends configuration
2) userdn hook in hooks configuration
3) 'uid' and 'basedn' parameters in backends configuration

Using Horde_Ldap's findUserDN() which uses the 'filter' setting is  
marked as a todo in the LDAP driver's source code. A patch would be  
much appreciated.

-- 
Jan Schneider
The Horde Project
https://www.horde.org/



More information about the horde mailing list