Joseph Norris
2008-Mar-08 02:16 UTC
[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 at 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);
Charles Marcus
2008-Mar-08 02:37 UTC
[Dovecot] dovecot and ldap config - getting no password in reply
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 temp > > What 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...
Timo Sirainen
2008-Mar-08 02:44 UTC
[Dovecot] dovecot and ldap config - getting no password in reply
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 replyMost 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="<dovecot's dn>" read # add this # by anonymous auth # by self write # by * none -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part URL: <http://dovecot.org/pipermail/dovecot/attachments/20080308/9e6961a6/attachment-0002.bin>