diff options
author | Steve Holme <steve_holme@hotmail.com> | 2013-12-18 20:44:20 +0000 |
---|---|---|
committer | Steve Holme <steve_holme@hotmail.com> | 2013-12-18 20:45:17 +0000 |
commit | 48043f87b60a74af22bfe66a2db3b105a946921c (patch) | |
tree | eda4eb3deb6bfe28b31ee2b07106c5f6e5ac6d64 /tests | |
parent | b7b126ee416239b03f681774edb6deebb2196841 (diff) |
imap/pop3/smtp: Added support for SASL authentication downgrades
Added support for downgrading the SASL authentication mechanism when the
decoding of CRAM-MD5, DIGEST-MD5 and NTLM messages fails. This enhances
the previously added support for graceful cancellation by allowing the
client to retry a lesser SASL mechanism such as LOGIN or PLAIN, or even
APOP / clear text (in the case of POP3 and IMAP) when supported by the
server.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/data/test830 | 1 | ||||
-rw-r--r-- | tests/data/test831 | 1 | ||||
-rw-r--r-- | tests/data/test832 | 1 |
3 files changed, 3 insertions, 0 deletions
diff --git a/tests/data/test830 b/tests/data/test830 index edc3eb1e7..ff5586717 100644 --- a/tests/data/test830 +++ b/tests/data/test830 @@ -12,6 +12,7 @@ RFC2195 <reply> <servercmd> AUTH CRAM-MD5 +CAPA LOGINDISABLED REPLY AUTHENTICATE + Rubbish REPLY * A002 NO AUTH exchange cancelled by client </servercmd> diff --git a/tests/data/test831 b/tests/data/test831 index 4963ba372..51864db33 100644 --- a/tests/data/test831 +++ b/tests/data/test831 @@ -11,6 +11,7 @@ IMAP AUTH NTLM <reply> <servercmd> AUTH NTLM +CAPA LOGINDISABLED REPLY AUTHENTICATE + REPLY TlRMTVNTUAABAAAABoIIAAAAAAAAAAAAAAAAAAAAAAA= + Rubbish REPLY * A002 NO AUTH exchange cancelled by client diff --git a/tests/data/test832 b/tests/data/test832 index 6c54b304f..edc910d21 100644 --- a/tests/data/test832 +++ b/tests/data/test832 @@ -12,6 +12,7 @@ RFC2831 <reply> <servercmd> AUTH DIGEST-MD5 +CAPA LOGINDISABLED REPLY AUTHENTICATE + Rubbish REPLY * A002 NO AUTH exchange cancelled by client </servercmd> |