passwd H4 using findUserDN($user) with Ldap driver

Maciej Uhlig <[email protected]> Tue, 27 Dec 2011 14:25:19 +0100
Newsgroups gmane.comp.horde.sork
Message-ID <[email protected]>
I need to use findUserDN($user) in order to get user DN (the workaround 
proposed is not enough).

I found an inconsistency while defining parameters for finduserDN(). In 
/pear/php/Horde/Ldap.php configuration parameter named 'user' must 
contain 'uid', and 'filter' or 'objectclass' entries. This parameter 
must then be an array. If I define this array in the script code LDAP 
password change works correctly.

However, if I define this array in backends.local.php config file I get 
the error: "Password module is not properly configured". Looks like 
there are string variables 'uid' and 'filter' in the file but array 
'user' is not accepted.

Is this a bug or misconfiguration?

Best regards,

MU
-- 
Sork mailing list - Join the hunt: http://horde.org/bounties/#sork
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: [email protected]