[Dovecot] login fails when username has apostrophe

Timo Sirainen tss at iki.fi
Wed Jan 7 01:33:33 EET 2009


On Wed, 2009-01-07 at 10:19 +1100, Karl Latiss wrote:
> Jan  5 16:15:05 www-example1 dovecot: auth(default): ldap(julie.o
> \'reilly at example.com,10.3.96.60): pass search: base=dc=example, dc=com
> scope=subtree filter=(&(objectClass=qmailUser)(uid=julie.o\\'reilly))
> field
> s=mail,userPassword

I think it should be julie.o\\\'reilly in there. Have to check why.

> Jan  5 16:15:07 www-example1 dovecot: auth(default): client out: FAIL
> 1       user=julie.o\'reilly at example.com
> failed, 1 attempts): user=<julie.o\'reilly at example.com>, method=PLAIN,

But I think your client (PHP webmail with automatic slashing enabled?)
is sending the initial \ here. Try logging in manually with telnet to
make sure.

-------------- 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/20090106/d5f06e9a/attachment.bin 


More information about the dovecot mailing list