• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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
40SSL
41!SSPI
42debug
43</features>
44 <name>
45POP3 NTLM authentication with initial response
46 </name>
47 <setenv>
48# we force our own host name, in order to make the test machine independent
49CURL_GETHOSTNAME=curlhost
50# we try to use the LD_PRELOAD hack, if not a debug build
51LD_PRELOAD=%PWD/libtest/.libs/libhostname.so
52 </setenv>
53 <command>
54pop3://%HOSTIP:%POP3PORT/873 -u testuser:testpass --sasl-ir
55</command>
56<precheck>
57chkhostname curlhost
58</precheck>
59</client>
60
61#
62# Verify data after the test has been "shot"
63<verify>
64<protocol>
65CAPA
66AUTH NTLM TlRMTVNTUAABAAAABoIIAAAAAAAAAAAAAAAAAAAAAAA=
67TlRMTVNTUAADAAAAGAAYAEAAAAAYABgAWAAAAAAAAABwAAAACAAIAHAAAAAIAAgAeAAAAAAAAAAAAAAAhoIBADQzMjE1MzIxAAAAAAAAAAAAAAAAAAAAADj3hs3u3j0kgJqCrLM+74BmaoNHDfIJjHRlc3R1c2VyY3VybGhvc3Q=
68RETR 873
69QUIT
70</protocol>
71</verify>
72</testcase>
73