Re: [exim-dev] [Bug 598] New: dovecot authenticator incorrec…

Top Page
Delete this message
Reply to this message
Author: Johannes Berg
Date:  
To: 598
CC: exim-dev, Jan Srzednicki
Old-Topics: [exim-dev] [Bug 598] New: dovecot authenticator incorrect protocol handling
Subject: Re: [exim-dev] [Bug 598] New: dovecot authenticator incorrect protocol handling
Jan,

> The dovecot authenticator doesn't make much effort to handle the auth protocol
> correctly. The protocol itself is described here:
>
> http://wiki.dovecot.org/Authentication_Protocol
>
> The exim dovecot auth fails to work when there are additional fields specified
> by the authentication configuration (as in case of LDAP or SQL dovecot setup),
> as it assumes a fixed-length array of arguments for the "OK" or "FAIL"
> authentication server responses. I have written a patch which fixes the problem
> and handles the protocol correctly.


Does your patch also address the problem where, when a user enters a
password wrong once, subsequent attempts in the same smtp/auth
connection fail with:

dovecot_plain authenticator failed for ...: 535 Incorrect authentication data (set_id=...)

and dovecot reports:

dovecot: auth(default): BUG: Authentication client gave a PID 1301 of existing connection

johannes