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= + 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 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/868 -u testuser:testpass 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 67TlRMTVNTUAABAAAABoIIAAAAAAAAAAAAAAAAAAAAAAA= 68TlRMTVNTUAADAAAAGAAYAEAAAAAYABgAWAAAAAAAAABwAAAACAAIAHAAAAAIAAgAeAAAAAAAAAAAAAAAhoIBADQzMjE1MzIxAAAAAAAAAAAAAAAAAAAAADj3hs3u3j0kgJqCrLM+74BmaoNHDfIJjHRlc3R1c2VyY3VybGhvc3Q= 69RETR 868 70QUIT 71</protocol> 72</verify> 73</testcase> 74