xref: /curl/tests/data/test831 (revision 09437d8c)
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<command>
38'imap://%HOSTIP:%IMAPPORT/%TESTNUMBER/;MAILINDEX=1' -u testuser:testpass
39</command>
40</client>
41
42#
43# Verify data after the test has been "shot"
44<verify>
45# 67 - CURLE_LOGIN_DENIED
46<errorcode>
4767
48</errorcode>
49#
50# The multi interface considers a broken "CONNECT" as a prematurely broken
51# transfer and such a connection will not get a "LOGOUT"
52<protocol>
53A001 CAPABILITY
54A002 AUTHENTICATE NTLM
55TlRMTVNTUAABAAAABoIIAAAAAAAAAAAAAAAAAAAAAAA=
56*
57</protocol>
58</verify>
59</testcase>
60