[Dovecot] login fails when username has apostrophe

Timo Sirainen tss at iki.fi
Wed Jan 7 19:26:29 EET 2009


On Wed, 2009-01-07 at 12:12 -0500, Timo Sirainen wrote:
> > > The previous log output is with me telnetting in manually, however the
> > > webmail software (roundcube) produces the same results.
> > 
> > That's weird. I'll try to reproduce it tomorrow. I don't have a  
> > working LDAP server setup currently though. Ubuntu slapd config looks  
> > weird.
> 
> Works fine here with the current v1.1 hg (but I don't remember having
> done any fixes related to LDAP for a long time):
> 
> * OK Dovecot ready.
> x login "a'b" pass
> x OK Logged in.

Also I'm a bit surprised that I've managed to get escaping working with
all special LDAP characters without having it tested before:

imap-login: Login: user=<a\(*),.b>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, secured

-------------- 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/20090107/6503305f/attachment.bin 


More information about the dovecot mailing list