• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<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
31!SSPI
32</features>
33 <name>
34SMTP NTLM graceful cancellation
35 </name>
36 <setenv>
37# we force our own host name, in order to make the test machine independent
38CURL_GETHOSTNAME=curlhost
39# we try to use the LD_PRELOAD hack, if not a debug build
40LD_PRELOAD=%PWD/libtest/.libs/libhostname.so
41 </setenv>
42 <command>
43smtp://%HOSTIP:%SMTPPORT/933 --mail-rcpt recipient@example.com --mail-from sender@example.com -u testuser:testpass -T -
44</command>
45<precheck>
46chkhostname curlhost
47</precheck>
48</client>
49
50#
51# Verify data after the test has been "shot"
52<verify>
53# 67 - CURLE_LOGIN_DENIED
54<errorcode>
5567
56</errorcode>
57#
58# The multi interface considers a broken "CONNECT" as a prematurely broken
59# transfer and such a connection will not get a "QUIT"
60<protocol>
61EHLO 933
62AUTH NTLM
63TlRMTVNTUAABAAAABoIIAAAAAAAAAAAAAAAAAAAAAAA=
64*
65</protocol>
66</verify>
67</testcase>
68