1<testcase>
2<info>
3<keywords>
4SMTP
5SMTP AUTH NTLM
6SASL CANCELLATION
7RFC4954
8</keywords>
9</info>
10
11#
12# Server-side
13<reply>
14<servercmd>
15AUTH NTLM
16REPLY AUTH 334 NTLM supported
17REPLY TlRMTVNTUAABAAAABoIIAAAAAAAAAAAAAAAAAAAAAAA= 334 Rubbish
18REPLY * 501 AUTH exchange cancelled by client
19</servercmd>
20</reply>
21
22#
23# Client-side
24<client>
25<server>
26smtp
27</server>
28<features>
29NTLM
30!SSPI
31</features>
32 <name>
33SMTP NTLM graceful cancellation
34 </name>
35 <setenv>
36# we force our own host name, in order to make the test machine independent
37CURL_GETHOSTNAME=curlhost
38# we try to use the LD_PRELOAD hack, if not a debug build
39LD_PRELOAD=%PWD/libtest/.libs/libhostname.so
40 </setenv>
41 <command>
42smtp://%HOSTIP:%SMTPPORT/933 --mail-rcpt recipient@example.com --mail-from sender@example.com -u testuser:testpass -T -
43</command>
44<precheck>
45chkhostname curlhost
46</precheck>
47</client>
48
49#
50# Verify data after the test has been "shot"
51<verify>
52# 67 - CURLE_LOGIN_DENIED
53<errorcode>
5467
55</errorcode>
56#
57# The multi interface considers a broken "CONNECT" as a prematurely broken
58# transfer and such a connection will not get a "QUIT"
59<protocol>
60EHLO 933
61AUTH NTLM
62TlRMTVNTUAABAAAABoIIAAAAAAAAAAAAAAAAAAAAAAA=
63*
64</protocol>
65</verify>
66</testcase>
67