lh | 9ed821d | 2023-04-07 01:36:19 -0700 | [diff] [blame^] | 1 | <testcase> |
| 2 | <info> |
| 3 | <keywords> |
| 4 | POP3 |
| 5 | SASL |
| 6 | SASL AUTH NTLM |
| 7 | RFC1734 |
| 8 | RFC5034 |
| 9 | </keywords> |
| 10 | </info> |
| 11 | |
| 12 | # |
| 13 | # Server-side |
| 14 | <reply> |
| 15 | <servercmd> |
| 16 | AUTH NTLM |
| 17 | REPLY AUTH + |
| 18 | REPLY TlRMTVNTUAABAAAABoIIAAAAAAAAAAAAAAAAAAAAAAA= + TlRMTVNTUAACAAAAAgACADAAAAAGgoEAc51AYVDgyNcAAAAAAAAAAG4AbgAyAAAAQ0MCAAQAQwBDAAEAEgBFAEwASQBTAEEAQgBFAFQASAAEABgAYwBjAC4AaQBjAGUAZABlAHYALgBuAHUAAwAsAGUAbABpAHMAYQBiAGUAdABoAC4AYwBjAC4AaQBjAGUAZABlAHYALgBuAHUAAAAAAA==
|
| 19 | REPLY TlRMTVNTUAADAAAAGAAYAEAAAACeAJ4AWAAAAAAAAAD2AAAACAAIAPYAAAAIAAgA/gAAAAAAAAAAAAAABoKBAMOv20GsURsat8gdH/RfnYI0MzIxNTMyMeCdd8AzFZLZ/N1ujmilmCcBAQAAAAAAAACAPtXesZ0BNDMyMTUzMjEAAAAAAgAEAEMAQwABABIARQBMAEkAUwBBAEIARQBUAEgABAAYAGMAYwAuAGkAYwBlAGQAZQB2AC4AbgB1AAMALABlAGwAaQBzAGEAYgBlAHQAaAAuAGMAYwAuAGkAYwBlAGQAZQB2AC4AbgB1AAAAAAAAAAAAdGVzdHVzZXJjdXJsaG9zdA== +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 |
| 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/868 -u testuser:testpass |
| 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
|
| 66 | TlRMTVNTUAABAAAABoIIAAAAAAAAAAAAAAAAAAAAAAA=
|
| 67 | TlRMTVNTUAADAAAAGAAYAEAAAACeAJ4AWAAAAAAAAAD2AAAACAAIAPYAAAAIAAgA/gAAAAAAAAAAAAAABoKBAMOv20GsURsat8gdH/RfnYI0MzIxNTMyMeCdd8AzFZLZ/N1ujmilmCcBAQAAAAAAAACAPtXesZ0BNDMyMTUzMjEAAAAAAgAEAEMAQwABABIARQBMAEkAUwBBAEIARQBUAEgABAAYAGMAYwAuAGkAYwBlAGQAZQB2AC4AbgB1AAMALABlAGwAaQBzAGEAYgBlAHQAaAAuAGMAYwAuAGkAYwBlAGQAZQB2AC4AbgB1AAAAAAAAAAAAdGVzdHVzZXJjdXJsaG9zdA==
|
| 68 | RETR 868
|
| 69 | QUIT
|
| 70 | </protocol> |
| 71 | </verify> |
| 72 | </testcase> |