1<testcase>
2<info>
3<keywords>
4POP3
5POP3 AUTH NTLM
6SASL CANCELLATION
7RFC1734
8RFC5034
9</keywords>
10</info>
11
12#
13# Server-side
14<reply>
15<servercmd>
16AUTH NTLM
17REPLY AUTH +
18REPLY TlRMTVNTUAABAAAABoIIAAAAAAAAAAAAAAAAAAAAAAA= + Rubbish
19REPLY * -ERR AUTH exchange cancelled by client
20</servercmd>
21</reply>
22
23#
24# Client-side
25<client>
26<server>
27pop3
28</server>
29<features>
30NTLM
31!SSPI
32</features>
33 <name>
34POP3 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>
43pop3://%HOSTIP:%POP3PORT/877 -u testuser:testpass
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>
61CAPA
62AUTH NTLM
63TlRMTVNTUAABAAAABoIIAAAAAAAAAAAAAAAAAAAAAAA=
64*
65</protocol>
66</verify>
67</testcase>
68