Hello,

Svancara, Randall wrote:
I just set up OpenLDAP authentication on ubuntu linux. Linux authenticates against the LDAP database just fine.
[ bind with dn: cn=... works while bind with dn: uid=... doesn't work. ]
I am trying to figure out why I can not bind using uid?  Any ideas?

Simple: The entry you are authenticating with has the dn "cn=..." and you can only bind with the dn, not with any attribute of an entry.

If have an application where uid is given for authentication you first have to search the directory (presumably authenticated as a different dn) for the dn of the entry containing that uid. Then you can bind with the dn found and the password submitted.

And "linux" (you probably mean some combination of pam_ldap and nss_ldap) does just that.

bye
Christian

--
Christian Marg                    mail  : mailto:[EMAIL PROTECTED]
Dezernat 2 TU Clausthal           web   : http://www.tu-clausthal.de
D-38678 Clausthal-Zellerfeld      fon   : 05323/72-2107
Germany                           jabber: [EMAIL PROTECTED]

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to