hi,
I am trying to set up dovecot with digest-md5 as authentication mechanism and openldap as passdb.
My problem is ... that I just can't get it working. PLAIN authentication works as expected, but no luck with digest-md5.
An excerpt from the two configuration files:
dovecot.conf: --------CUT-------- auth = default auth_mechanisms = plain digest-md5 auth_userdb = ldap /etc/dovecot/dovecot-ldap.conf auth_passdb = ldap /etc/dovecot/dovecot-ldap.conf --------CUT--------
dovecot-ldap.conf: --------CUT-------- user_filter = (&(objectClass=posixAccount)(|(mail=%u)(uid=%n))) pass_filter = (&(objectClass=posixAccount)(|(mail=%u)(uid=%n))) default_pass_scheme = plain --------CUT--------
My dovecot installation with plain authentication and OpenLDAP has been quite mature for a long time, so I doubt that it is an issue with openldap.
From Cryrus-SASL I know that in order to get DIGEST-MD5 running it is required to have plaintext passwords in the DIT, but that does not solve anything.
syslog tells me this:
dovecot-auth: May 08 21:25:09 Error: ldap(frodo): No password in reply
So any ideas on where I went wrong?
Udo Rader
BestSolution.at GmbH http://www.bestsolution.at