xref: /curl/tests/data/test877 (revision 3fd80c7b)
1<testcase>
2<info>
3<keywords>
4POP3
5SASL
6SASL AUTH NTLM
7SASL CANCELLATION
8RFC1734
9RFC5034
10</keywords>
11</info>
12
13#
14# Server-side
15<reply>
16<servercmd>
17AUTH NTLM
18REPLY AUTH +
19REPLY TlRMTVNTUAABAAAABoIIAAAAAAAAAAAAAAAAAAAAAAA= + Rubbish
20REPLY * -ERR AUTH exchange cancelled by client
21</servercmd>
22</reply>
23
24#
25# Client-side
26<client>
27<server>
28pop3
29</server>
30<features>
31NTLM
32SSL
33!SSPI
34</features>
35<name>
36POP3 NTLM graceful cancellation
37</name>
38 <setenv>
39# we force our own host name, in order to make the test machine independent
40CURL_GETHOSTNAME=curlhost
41# we try to use the LD_PRELOAD hack, if not a debug build
42LD_PRELOAD=%PWD/libtest/.libs/libhostname.so
43 </setenv>
44<command>
45pop3://%HOSTIP:%POP3PORT/%TESTNUMBER -u testuser:testpass
46</command>
47<precheck>
48chkhostname curlhost
49</precheck>
50</client>
51
52#
53# Verify data after the test has been "shot"
54<verify>
55# 67 - CURLE_LOGIN_DENIED
56<errorcode>
5767
58</errorcode>
59#
60# The multi interface considers a broken "CONNECT" as a prematurely broken
61# transfer and such a connection will not get a "QUIT"
62<protocol>
63CAPA
64AUTH NTLM
65TlRMTVNTUAABAAAABoIIAAAAAAAAAAAAAAAAAAAAAAA=
66*
67</protocol>
68</verify>
69</testcase>
70