diff options
author | Steve Holme <steve_holme@hotmail.com> | 2013-02-03 23:58:03 +0000 |
---|---|---|
committer | Steve Holme <steve_holme@hotmail.com> | 2013-02-03 23:58:03 +0000 |
commit | b4270a9af1d0d9dea5931ca2269ba5c727495208 (patch) | |
tree | b95191da8f40704a96d480b50f2eca7f5230084f /lib/imap.h | |
parent | 6b6bdc83bd364e11dc4e774a021a1ab91ff309a9 (diff) | |
download | curl-b4270a9af1d0d9dea5931ca2269ba5c727495208.tar.gz |
imap: Fixed no known authentication mechanism when fallback is required
Fixed an issue where (lib)curl is compiled without support for a
supported challenge-response based SASL authentication mechanism, such
as CRAM-MD5 or NTLM, the server doesn't support the LOGIN or PLAIN
mechanisms and (lib)curl doesn't fallback to Clear Text authentication.
Note: In order to fallback to Clear Text authentication properly this
fix adds support for the LOGINDISABLED server capability.
imap: Fixed no known authentication mechanism when fallback is required
Fixed an issue where (lib)curl is compiled without support for a
supported challenge-response based SASL authentication mechanism, such
as CRAM-MD5 or NTLM, the server doesn't support the LOGIN or PLAIN
mechanisms and (lib)curl doesn't fallback to Clear Text authentication.
Note: In order to fallback to Clear Text authentication properly this
fix adds support for the LOGINDISABLED server capability.
Related bug: http://curl.haxx.se/mail/lib-2013-02/0004.html
Reported by: Stanislav Ivochkin
Diffstat (limited to 'lib/imap.h')
-rw-r--r-- | lib/imap.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/imap.h b/lib/imap.h index c33cbed93..533ee4a94 100644 --- a/lib/imap.h +++ b/lib/imap.h @@ -62,6 +62,7 @@ struct imap_conn { int cmdid; /* Next command ID */ const char *idstr; /* String based response ID to wait for */ bool ssldone; /* Is connect() over SSL done? */ + bool login_disabled; /* LOGIN command explicitly disabled by server */ }; extern const struct Curl_handler Curl_handler_imap; |