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