[Dovecot] Dovecot LDAP Auth & Usernames with dashes
Timo Sirainen
tss at iki.fi
Fri Oct 2 23:43:59 EEST 2009
On Fri, 2009-10-02 at 21:20 +0100, Chris Jones wrote:
> We're seeing an issue with LDAP auth when the username contains a -
> char.
>
> We're using 1.0.15 as packaged for Debian Lenny
>
> Oct 2 12:29:02 silver dovecot: auth(default): LDAP: binding failed
> (dn (none)): Protocol error
Either your LDAP server doesn't like it, or Dovecot should be escaping
'-' characters. What does it log with auth_debug=yes? What LDAP server
do you use? If you can compile sources, you could also try adding '-' to
IS_LDAP_ESCAPED_CHAR() in src/auth/db-ldap.c
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20091002/c926169f/attachment.bin
More information about the dovecot
mailing list