[Dovecot] SASL AUTH LOGIN mechanism problems

Andrey Panin pazke at donpac.ru
Thu Jun 15 13:20:27 EEST 2006


On 166, 06 15, 2006 at 11:52:32 +0200, Anders Karlsson wrote:
> 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.

Except some unneeded whitespace, patch looks correct. 
Timo, please consider applying.

-- 
Andrey Panin		| Linux and UNIX system administrator
pazke at donpac.ru		| PGP key: wwwkeys.pgp.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://dovecot.org/pipermail/dovecot/attachments/20060615/31e15657/attachment.pgp


More information about the dovecot mailing list