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