Re: password, users in diferents branches of LDAP tree

Jan Schneider <[email protected]> Wed, 21 Aug 2013 11:11:39 +0200
Newsgroups gmane.comp.horde.sork
Message-ID <[email protected]>
Zitat von Federico Alberto Sayd <[email protected]>:

> Hello:
>
> I have a problem with module password using LDAP as backend.
>
> The problem is that my users are in differents branches in the ldap  
> tree. All users have a unique identifier ("uid"). But in  
> backends.local.php I can only especify a only branch to construct  
> the user dn.
>
>         // Determine the user's DN. %u will be replaced by the user's ID.
>         //'userdn' => 'uid=%u,o=example.com'
>
>
> I need a method to search the "dn" of the user, then use this dn to  
> bind to LDAP and change the password (AKA "indirect binding)
>
> The ldap driver contains this commented line:
>
>  // @todo Fix finding the user DN.
>  // $this->_userdn = $this->_ldap->findUserDN($username);
>
> Can somebody suggest me a hook or method to obtain the user dn  
> through a ldap search?
>
> PS: (Sorry my basic English)

http://bugs.horde.org/ticket/12299
-- 
Jan Schneider
The Horde Project
http://www.horde.org/

-- 
sork mailing list
Frequently Asked Questions: http://wiki.horde.org/FAQ
To unsubscribe, mail: [email protected]