From 48043f87b60a74af22bfe66a2db3b105a946921c Mon Sep 17 00:00:00 2001 From: Steve Holme Date: Wed, 18 Dec 2013 20:44:20 +0000 Subject: 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. --- tests/data/test830 | 1 + tests/data/test831 | 1 + tests/data/test832 | 1 + 3 files changed, 3 insertions(+) (limited to 'tests/data') 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 AUTH CRAM-MD5 +CAPA LOGINDISABLED REPLY AUTHENTICATE + Rubbish REPLY * A002 NO AUTH exchange cancelled by client 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 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 AUTH DIGEST-MD5 +CAPA LOGINDISABLED REPLY AUTHENTICATE + Rubbish REPLY * A002 NO AUTH exchange cancelled by client -- cgit v1.2.3