From ed9a4b9fc46f967da9e6a355f860f2a43505f41b Mon Sep 17 00:00:00 2001 From: Patrick Monnerat Date: Tue, 27 Jan 2015 18:03:56 +0100 Subject: test: add test cases for sasl external authentication (imap/pop3/smtp). --- tests/data/test945 | 56 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 56 insertions(+) create mode 100644 tests/data/test945 (limited to 'tests/data/test945') diff --git a/tests/data/test945 b/tests/data/test945 new file mode 100644 index 000000000..158b3579a --- /dev/null +++ b/tests/data/test945 @@ -0,0 +1,56 @@ + + + +IMAP +SASL +SASL AUTH EXTERNAL +SASL-IR +RFC4422 + + + +# +# Server-side + + +AUTH EXTERNAL +CAPA SASL-IR +REPLY AUTHENTICATE A002 OK AUTHENTICATE completed + + +From: me@somewhere +To: fake@nowhere + +body + +-- + yours sincerely + + + +# +# Client-side + + +imap + + +IMAP external authentication with initial response without credentials + + +'imap://;AUTH=EXTERNAL@%HOSTIP:%IMAPPORT/945/;UID=1' + + + +# +# Verify data after the test has been "shot" + + +A001 CAPABILITY +A002 AUTHENTICATE EXTERNAL = +A003 SELECT 945 +A004 FETCH 1 BODY[] +A005 LOGOUT + + + -- cgit v1.2.3