[Dovecot] dovecot and ldap config - getting no password in reply
I almost go this liked but then I get the following:
Mar 7 18:09:43 malaga dovecot: auth(default):
ldap(jnorris,76.20.83.98): pass search:
base=ou=People,dc=ucmerced,dc=edu scope=subtree filter=(&(uid=jnorris))
fields=uid,userPassword
Mar 7 18:09:43 malaga dovecot: auth(default):
ldap(jnorris,76.20.83.98): result: uid(user)=jnorris
Mar 7 18:09:43 malaga dovecot: auth(default):
ldap(jnorris,76.20.83.98): No password in reply
Mar 7 18:09:45 malaga dovecot: auth(default): client out: FAIL 2
user=jnorris temp
What am I missing in my conf files?
-- Cell: 209.201.3410 Desk: 209.228.4576 email: jnorris@ucmerced.edu
#Joseph Norris (Linux/Apache/Mysql/Perl - what else is there?) print @c=map chr $_+100,(6,17,15,16,-68,-3,10,11, 16,4,1, 14,-68,12,1,14,8, -68,4,-3,-1,7,1,14,-68, -26,11,15,1,12, 4,-68,-22,11,14,14,5,15,-90);
Joseph Norris wrote:
I almost go this liked but then I get the following: Mar 7 18:09:43 malaga dovecot: auth(default): ldap(jnorris,76.20.83.98): pass search: base=ou=People,dc=ucmerced,dc=edu scope=subtree filter=(&(uid=jnorris)) fields=uid,userPassword Mar 7 18:09:43 malaga dovecot: auth(default): ldap(jnorris,76.20.83.98): result: uid(user)=jnorris Mar 7 18:09:43 malaga dovecot: auth(default): ldap(jnorris,76.20.83.98): No password in reply Mar 7 18:09:45 malaga dovecot: auth(default): client out: FAIL 2
user=jnorris tempWhat am I missing in my conf files?
Well, since you have upgraded, please provide output of dovecot -n to show what is now in your config file, as well as provide content of your ldap config...
On Fri, 2008-03-07 at 18:16 -0800, Joseph Norris wrote:
I almost go this liked but then I get the following: Mar 7 18:09:43 malaga dovecot: auth(default): ldap(jnorris,76.20.83.98): pass search: base=ou=People,dc=ucmerced,dc=edu scope=subtree filter=(&(uid=jnorris)) fields=uid,userPassword Mar 7 18:09:43 malaga dovecot: auth(default): ldap(jnorris,76.20.83.98): result: uid(user)=jnorris Mar 7 18:09:43 malaga dovecot: auth(default): ldap(jnorris,76.20.83.98): No password in reply
Most likely means the DN you used to connect to LDAP server doesn't have read permissions to users' passwords. From dovecot-ldap-example.conf:
# NOTE: If you're not using authentication binds, you'll need to give # dovecot-auth read access to userPassword field in the LDAP server. # With OpenLDAP this is done by modifying /etc/ldap/slapd.conf. There should # already be something like this:
# access to attribute=userPassword
# by dn="
participants (3)
-
Charles Marcus
-
Joseph Norris
-
Timo Sirainen