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