[Dovecot] SASL AUTH LOGIN mechanism problems

Anders Karlsson anders at ei.nu
Thu Jun 15 12:52:32 EEST 2006


Hi all,

Have anyone had problems with Exhange 2003 servers trying to use sasl  
against Postfix+Dovecot SASL using the AUTH LOGIN Mechanism ?

I've done some smtp debugging, and it seems that Exchange sends the  
usename at the same time as AUTH LOGIN i.e:

AUTH LOGIN <base64_username>

It then expects to be able to send the password.

mech-login.c silently discards all data after AUTH LOGIN and just  
prompts the username prompt whetever the username has already been  
supplied during initial AUTH LOGIN request.

I've attached a patch to make mech-login.c check if additional data  
has been sent along with AUTH LOGIN, and in this case skip ahead  
directly to the Password: prompt.

Cheers
Anders


-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch-src-auth-mech-login.c
Type: application/octet-stream
Size: 784 bytes
Desc: not available
Url : http://dovecot.org/pipermail/dovecot/attachments/20060615/f15f6bb5/patch-src-auth-mech-login.obj


More information about the dovecot mailing list