[Dovecot] mangled user_attrs from LDAP
tss at iki.fi
Fri Jun 4 18:29:14 EEST 2010
On to, 2010-06-03 at 09:14 -0600, markham breitbach wrote:
> Jun 02 16:54:06 pop3-login: Info: Login: user=<bobs>, method=PLAIN,
> rip=188.8.131.52, lip=184.108.40.206
> Jun 02 16:54:06 POP3(bob_smith at example.tld): Info: Loading modules from
> directory: /usr/local/lib/dovecot/pop3
Is the above correct? Login shows the username as "bobs", but pop3 sees
it as bob_smith at domain? I think that means the passdb lookup did change
the username, but a later userdb probably changes it back..
> After much searching for anything different between these records, some
> tcpdumps showed that the problem occured when LDAP returned the
> attributes in a different order than they are requested in.
There shouldn't be any ordering-dependent code..
Logs about broken login with auth_debug=yes might show something useful.
More information about the dovecot