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
signature.asc
Description: This is a digitally signed message part