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