[sork] ldap setting in passwd module

Amith Varghese amith@xalan.com
Fri, 13 Sep 2002 09:47:08 -0400


> I use openldap 1.2.9 (ldap V.2) as authenticate backend in horde.
> In passwd module passwd/conf/config.php and think the 'uid' entry is reason
> that occurs that problem.But i don't know what value should i give to 'uid'
> in
> ldap Version 2.Any suggestion ?
> 
>    'host' => 'ldap.example.com',
>    'port' => 389,
>    'basedn' => 'cn=root,o=example.com',
>    'uid' => 'mail',

if your users are stored in LDAP and have the DN as follows

mail=alex@thbuo.gov.tw,dc=thbuo,dc=gov,dc=tw

then your uid would be 'mail'

if it were 

uid=alex@thbuo.gov.tw,dc=thbuo,dc=gov,dc=tw

the value would be 'uid'

Hope this makes sense.