1<testcase>
2<info>
3<keywords>
4IMAP
5IMAP AUTH NTLM
6SASL CANCELLATION
7</keywords>
8</info>
9
10#
11# Server-side
12<reply>
13<servercmd>
14AUTH NTLM
15CAPA LOGINDISABLED
16REPLY AUTHENTICATE +
17REPLY TlRMTVNTUAABAAAABoIIAAAAAAAAAAAAAAAAAAAAAAA= + Rubbish
18REPLY * A002 NO AUTH exchange cancelled by client
19</servercmd>
20</reply>
21
22#
23# Client-side
24<client>
25<server>
26imap
27</server>
28<features>
29NTLM
30!SSPI
31</features>
32 <name>
33IMAP 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>
42'imap://%HOSTIP:%IMAPPORT/831/;UID=1' -u testuser:testpass
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 "LOGOUT"
59<protocol>
60A001 CAPABILITY
61A002 AUTHENTICATE NTLM
62TlRMTVNTUAABAAAABoIIAAAAAAAAAAAAAAAAAAAAAAA=
63*
64</protocol>
65</verify>
66</testcase>
67