-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On Fri, 11 Apr 2008, Jack McKinney wrote:
dn: dovecot needs a dn with which to search the database to find the user's DN based on their email.
This is done with an anonymous connection,
Now that dovecot knows what the user's DN is, it will make a new connection to the LDAP server (this is my understanding of "auth_bind =
It will use the same connection, but bind() anew.
yes") using "cn=Jack McKinney, ou=users, dc=lorentz, dc=com" and the password "test123". If this LDAP connection authenticates, then the
Does this work? Can you bind as this user?
I mean ldapsearch -D "cn=Jack McKinney, ou=users, dc=lorentz, dc=com" -x
- -w "test123" ?
supplied by the user to try and authenticate to LDAP. If it succeeds, then the user can access their email.
Yeah, it works in my setup :-)
Did you sniffed the LDAP connection already?
Bye,
Steffen Kaiser -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux)
iD8DBQFIBKEbVJMDrex4hCIRAmJnAKCrCzTT9LmI3thw0W0fpB90n/pXjACg0Aci I8e6zOqcYFYzelTRas2OeUk= =Kdqi -----END PGP SIGNATURE-----