• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<testcase>
2<info>
3<keywords>
4POP3
5SASL
6SASL AUTH NTLM
7RFC1734
8RFC5034
9</keywords>
10</info>
11
12#
13# Server-side
14<reply>
15<servercmd>
16AUTH NTLM
17REPLY AUTH +
18REPLY TlRMTVNTUAABAAAABoIIAAAAAAAAAAAAAAAAAAAAAAA= + TlRMTVNTUAACAAAAAgACADAAAAAGgoEAc51AYVDgyNcAAAAAAAAAAG4AbgAyAAAAQ0MCAAQAQwBDAAEAEgBFAEwASQBTAEEAQgBFAFQASAAEABgAYwBjAC4AaQBjAGUAZABlAHYALgBuAHUAAwAsAGUAbABpAHMAYQBiAGUAdABoAC4AYwBjAC4AaQBjAGUAZABlAHYALgBuAHUAAAAAAA==
19REPLY TlRMTVNTUAADAAAAGAAYAEAAAACeAJ4AWAAAAAAAAAD2AAAACAAIAPYAAAAIAAgA/gAAAAAAAAAAAAAABoKBAL9LNW5+nkyHZRmyFaL/LJ4xMjM0MjIzNGUCyhgQ9hw6eWAT13EbDa0BAQAAAAAAAACAPtXesZ0BMTIzNDIyMzQAAAAAAgAEAEMAQwABABIARQBMAEkAUwBBAEIARQBUAEgABAAYAGMAYwAuAGkAYwBlAGQAZQB2AC4AbgB1AAMALABlAGwAaQBzAGEAYgBlAHQAaAAuAGMAYwAuAGkAYwBlAGQAZQB2AC4AbgB1AAAAAAAAAAAAdGVzdHVzZXJjdXJsaG9zdA== +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
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/868 -u testuser:testpass
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
66TlRMTVNTUAABAAAABoIIAAAAAAAAAAAAAAAAAAAAAAA=
67TlRMTVNTUAADAAAAGAAYAEAAAACeAJ4AWAAAAAAAAAD2AAAACAAIAPYAAAAIAAgA/gAAAAAAAAAAAAAABoKBAL9LNW5+nkyHZRmyFaL/LJ4xMjM0MjIzNGUCyhgQ9hw6eWAT13EbDa0BAQAAAAAAAACAPtXesZ0BMTIzNDIyMzQAAAAAAgAEAEMAQwABABIARQBMAEkAUwBBAEIARQBUAEgABAAYAGMAYwAuAGkAYwBlAGQAZQB2AC4AbgB1AAMALABlAGwAaQBzAGEAYgBlAHQAaAAuAGMAYwAuAGkAYwBlAGQAZQB2AC4AbgB1AAAAAAAAAAAAdGVzdHVzZXJjdXJsaG9zdA==
68RETR 868
69QUIT
70</protocol>
71</verify>
72</testcase>
73