Debian Codegraph @

deps/curl/tests/data/test880

raw
1 <testcase>
2 <info>
3 <keywords>
4 POP3
5 SASL
6 SASL AUTH NTLM
7 SASL AUTH PLAIN
8 SASL DOWNGRADE
9 RFC1734
10 RFC5034
11 </keywords>
12 </info>
13
14 #
15 # Server-side
16 <reply>
17 <servercmd>
18 AUTH NTLM PLAIN
19 REPLY "AUTH NTLM" +
20 REPLY TlRMTVNTUAABAAAABoIIAAAAAAAAAAAAAAAAAAAAAAA= + Rubbish
21 REPLY * -ERR AUTH exchange cancelled by client
22 REPLY "AUTH PLAIN" +
23 REPLY AHVzZXIAc2VjcmV0 +OK Login successful
24 </servercmd>
25 <data>
26 From: me@somewhere
27 To: fake@nowhere
28
29 body
30
31 --
32 yours sincerely
33 </data>
34 </reply>
35
36 #
37 # Client-side
38 <client>
39 <server>
40 pop3
41 </server>
42 <features>
43 NTLM
44 SSL
45 !SSPI
46 </features>
47 <name>
48 POP3 NTLM authentication with SASL downgrade
49 </name>
50 <setenv>
51 # we force our own host name, in order to make the test machine independent
52 CURL_GETHOSTNAME=curlhost
53 # we try to use the LD_PRELOAD hack, if not a debug build
54 LD_PRELOAD=%PWD/libtest/.libs/libhostname.so
55 </setenv>
56 <command>
57 pop3://%HOSTIP:%POP3PORT/880 -u user:secret
58 </command>
59 <precheck>
60 chkhostname curlhost
61 </precheck>
62 </client>
63
64 #
65 # Verify data after the test has been "shot"
66 <verify>
67 <protocol>
68 CAPA
69 AUTH NTLM
70 TlRMTVNTUAABAAAABoIIAAAAAAAAAAAAAAAAAAAAAAA=
71 *
72 AUTH PLAIN
73 AHVzZXIAc2VjcmV0
74 RETR 880
75 QUIT
76 </protocol>
77 </verify>
78 </testcase>