xref: /curl/tests/data/test880 (revision 09437d8c)
1<testcase>
2<info>
3<keywords>
4POP3
5SASL
6SASL AUTH NTLM
7SASL AUTH PLAIN
8SASL DOWNGRADE
9RFC1734
10RFC5034
11</keywords>
12</info>
13
14#
15# Server-side
16<reply>
17<servercmd>
18AUTH NTLM PLAIN
19REPLY "AUTH NTLM" +
20REPLY TlRMTVNTUAABAAAABoIIAAAAAAAAAAAAAAAAAAAAAAA= + Rubbish
21REPLY * -ERR AUTH exchange cancelled by client
22REPLY "AUTH PLAIN" +
23REPLY AHVzZXIAc2VjcmV0 +OK Login successful
24</servercmd>
25<data>
26From: me@somewhere
27To: fake@nowhere
28
29body
30
31--
32  yours sincerely
33</data>
34</reply>
35
36#
37# Client-side
38<client>
39<server>
40pop3
41</server>
42<features>
43NTLM
44SSL
45!SSPI
46</features>
47<name>
48POP3 NTLM authentication with SASL downgrade
49</name>
50<command>
51pop3://%HOSTIP:%POP3PORT/%TESTNUMBER -u user:secret
52</command>
53</client>
54
55#
56# Verify data after the test has been "shot"
57<verify>
58<protocol>
59CAPA
60AUTH NTLM
61TlRMTVNTUAABAAAABoIIAAAAAAAAAAAAAAAAAAAAAAA=
62*
63AUTH PLAIN
64AHVzZXIAc2VjcmV0
65RETR %TESTNUMBER
66QUIT
67</protocol>
68</verify>
69</testcase>
70