Hi all,
I have an AD testsetup with auth_bind setting
auth_bind_userdn = "spdev\\%Ln"
I created a testuser "claasc (test)" which works fine in all ldapfilters but not for the auth_bind.
the log shows everything correct just "invalid credentials"
mail.debug: Jun 9 14:12:31 dovecot: auth: Debug: auth client connected
(pid=12202) mail.debug: Jun 9 14:12:31 dovecot: auth: Debug: client
in: AUTH 1 PLAIN service=imap
secured session=T6knVtc0wQB/AAAB lip=127.0.0.1
rip=127.0.0.1 lport=143 rport=39873 mail.debug: Jun 9
14:12:31 dovecot: auth: Debug: client passdb out: CONT 1
mail.debug: Jun 9 14:12:31 dovecot: auth: Debug: client in:
CONT<hidden> mail.debug: Jun 9 14:12:31 dovecot: auth: Debug:
passwd-file(claasc (test),127.0.0.1,
So I guess its just a bind problem.
strace output from auth process of imap login:
write(26, "0-\2\1\4`(\2\1\3\4\25spdev\\claasc \\(test\\)\200\fHubertHans99", 47) = 47
the additional \\ in front of the brackets look strange to me and might be the reason.
tested Version is 2.2.18
Greetz Matze