[exim-dev] [Bug 598] dovecot authenticator incorrect protoco…

Top Page
Delete this message
Reply to this message
Author: Johannes Berg
Date:  
To: exim-dev
Old-Topics: [exim-dev] [Bug 598] New: dovecot authenticator incorrect protocol handling
Subject: [exim-dev] [Bug 598] dovecot authenticator incorrect protocol handling
------- You are receiving this mail because: -------
You are on the CC list for the bug.

http://bugs.exim.org/show_bug.cgi?id=598




--- Comment #4 from Johannes Berg <johannes@???> 2009-04-13 11:17:28 ---
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


--
Configure bugmail: http://bugs.exim.org/userprefs.cgi?tab=email