[Dovecot] dovecot and ldap config - getting no password in reply

Timo Sirainen tss at iki.fi
Sat Mar 8 04:44:20 EET 2008


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="<dovecot's dn>" read # add this
#        by anonymous auth
#        by self write
#        by * none

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
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.bin 


More information about the dovecot mailing list