[Dovecot] unknown user now logged - but auth works (Re: auth-login crash with cram-md5 (plain works) on unknown user)
Timo Sirainen
tss at iki.fi
Mon Apr 16 17:56:28 EEST 2007
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.
-------------- 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/20070416/490cb6ff/attachment.pgp
More information about the dovecot
mailing list