On Mon, 2007-04-16 at 15:46 +0100, Charlie Allom wrote:
ldap(yeled,19.8.5.23): pass search: base=ou=users,dc=playlouder,dc=com scope=subtree filter=(&(objectClass=CourierMailAccount)(uid=yeled)) fields=uid,userPassword dovecot: 2007-04-16 14:44:27 Info: auth(default): ldap(yeled,19.8.5.23): result: uid(user)=yeled userPassword(password)=<hidden>
yeled is found from LDAP passdb.
passwd(yeled,19.8.5.23): unknown user
Isn't found from passwd userdb.
dovecot: 2007-04-16 14:44:27 Info: auth(default): ldap(yeled,19.8.5.23): user search: base=ou=users,dc=playlouder,dc=com scope=subtree filter=(&(objectClass=CourierMailAccount)(uid=yeled)) fields=homeDirectory,uidNumber,gidNumber
Is again found from LDAP userdb, so the login succeeds.
passdb: driver: ldap args: /usr/etc/dovecot-ldap.conf userdb: driver: passwd userdb: driver: ldap args: /usr/etc/dovecot-ldap.conf
The lookups are done in this order. Is the userdb passwd supposed to be there at all? It's enough to find the user from one userdb.