[Users] [Bug 2379] prompt for password after authentication timeout

noreply at thewildbeast.co.uk noreply at thewildbeast.co.uk
Wed Feb 15 16:49:19 CET 2012


--- Comment #1 from Robert  2012-02-15 16:49:18 ---
Created an attachment (id=1077)
 --> (http://www.thewildbeast.co.uk/claws-mail/bugzilla/attachment.cgi?id=1077)
patch for non-password auth errors

I've recently started using DavMail to interface with an Exchange server via
EWS, and the EWS server is a little flaky. So sometimes I get "EWS end point
not available". This causes the same issue as the connect attempt failure - I
get prompted for my password on the next attempt.  This happens much more
frequently than the previous error, which finally drove me to fix it.

The attached patch adds a hardcoded list of string which are compared against
the ERR string during authentication. If the error matches a string in the
list, the error code is changed from PS_AUTHFAIL to PS_ERROR. The error is
logged, but the user will not be prompted for their password on the next
connection attempt.

Patch is against 3.8.0.

Configure bugmail: http://www.thewildbeast.co.uk/claws-mail/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

More information about the Users mailing list