[Dovecot] login fails when username has apostrophe

Karl Latiss klatiss at nextdigital.com
Wed Jan 7 23:27:42 EET 2009


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?

Karl.


More information about the dovecot mailing list