[Dovecot] login fails when username has apostrophe

Timo Sirainen tss at iki.fi
Wed Jan 7 23:31:25 EET 2009


On Thu, 2009-01-08 at 08:27 +1100, Karl Latiss wrote:
> On Wed, 2009-01-07 at 11:09 -0800, Scott Silva wrote:
> > on 1-7-2009 9:26 AM Timo Sirainen spake the following:
> > > 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
> > > 
> > I wonder if the OP has a character set or encoding issue?
> > 
> > 
> My dovecot package has a dependency on libiconv-1.11_1. Could that have
> something to do with it?

No. You have several extra \ characters in the logs and they just
shouldn't be there unless the client sent them. Set
auth_debug_passwords=yes and paste the full logs when logging in? (Use a
password that isn't important.)
-------------- 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/881a4b20/attachment.bin 


More information about the dovecot mailing list