From 95877cf8ae5bf5fdfd184ca7170e4a967185d846 Mon Sep 17 00:00:00 2001 From: Steve Holme Date: Sat, 23 Nov 2013 15:06:31 +0000 Subject: tests: Added SMTP graceful authentication cancellation tests --- tests/data/test933 | 62 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 62 insertions(+) create mode 100644 tests/data/test933 (limited to 'tests/data/test933') diff --git a/tests/data/test933 b/tests/data/test933 new file mode 100644 index 000000000..3b7ca21df --- /dev/null +++ b/tests/data/test933 @@ -0,0 +1,62 @@ + + + +SMTP +SMTP AUTH NTLM +RFC4954 + + + +# +# Server-side + + +AUTH NTLM +REPLY AUTH 334 NTLM supported +REPLY TlRMTVNTUAABAAAABoIIAAAAAAAAAAAAAAAAAAAAAAA= 334 Rubbish +REPLY * 501 AUTH exchange cancelled by client + + + +# +# Client-side + + +smtp + + +NTLM + + +SMTP NTLM graceful cancellation + + +# we force our own host name, in order to make the test machine independent +CURL_GETHOSTNAME=curlhost +# we try to use the LD_PRELOAD hack, if not a debug build +LD_PRELOAD=%PWD/libtest/.libs/libhostname.so + + +smtp://%HOSTIP:%SMTPPORT/933 --mail-rcpt recipient@example.com --mail-from sender@example.com -u testuser:testpass -T - + + +chkhostname curlhost + + + +# +# Verify data after the test has been "shot" + +# 67 - CURLE_LOGIN_DENIED + +67 + + +EHLO 933 +AUTH NTLM +TlRMTVNTUAABAAAABoIIAAAAAAAAAAAAAAAAAAAAAAA= +* +QUIT + + + -- cgit v1.2.3