xf.li | 6c8fc1e | 2023-08-12 00:11:09 -0700 | [diff] [blame^] | 1 | <testcase> |
| 2 | <info> |
| 3 | <keywords> |
| 4 | IMAP |
| 5 | SASL |
| 6 | SASL AUTH NTLM |
| 7 | NTLM |
| 8 | </keywords> |
| 9 | </info> |
| 10 | |
| 11 | # |
| 12 | # Server-side |
| 13 | <reply> |
| 14 | <servercmd> |
| 15 | AUTH NTLM |
| 16 | REPLY AUTHENTICATE + |
| 17 | REPLY TlRMTVNTUAABAAAABoIIAAAAAAAAAAAAAAAAAAAAAAA= + TlRMTVNTUAACAAAAAgACADAAAACGggEAc51AYVDgyNcAAAAAAAAAAG4AbgAyAAAAQ0MCAAQAQwBDAAEAEgBFAEwASQBTAEEAQgBFAFQASAAEABgAYwBjAC4AaQBjAGUAZABlAHYALgBuAHUAAwAsAGUAbABpAHMAYQBiAGUAdABoAC4AYwBjAC4AaQBjAGUAZABlAHYALgBuAHUAAAAAAA== |
| 18 | REPLY TlRMTVNTUAADAAAAGAAYAEAAAAAYABgAWAAAAAAAAABwAAAACAAIAHAAAAALAAsAeAAAAAAAAAAAAAAAhoIBAFpkQwKRCZFMhjj0tw47wEjKHRHlvzfxQamFcheMuv8v+xeqphEO5V41xRd7R9deOXRlc3R1c2VyV09SS1NUQVRJT04= A002 OK AUTHENTICATE completed |
| 19 | </servercmd> |
| 20 | <data> |
| 21 | From: me@somewhere
|
| 22 | To: fake@nowhere
|
| 23 |
|
| 24 | body
|
| 25 |
|
| 26 | --
|
| 27 | yours sincerely
|
| 28 | </data> |
| 29 | </reply> |
| 30 | |
| 31 | # |
| 32 | # Client-side |
| 33 | <client> |
| 34 | <server> |
| 35 | imap |
| 36 | </server> |
| 37 | <features> |
| 38 | NTLM |
| 39 | SSL |
| 40 | !SSPI |
| 41 | </features> |
| 42 | <name> |
| 43 | IMAP NTLM authentication |
| 44 | </name> |
| 45 | <command> |
| 46 | 'imap://%HOSTIP:%IMAPPORT/%TESTNUMBER/;MAILINDEX=1' -u testuser:testpass |
| 47 | </command> |
| 48 | </client> |
| 49 | |
| 50 | # |
| 51 | # Verify data after the test has been "shot" |
| 52 | <verify> |
| 53 | <protocol> |
| 54 | A001 CAPABILITY
|
| 55 | A002 AUTHENTICATE NTLM
|
| 56 | TlRMTVNTUAABAAAABoIIAAAAAAAAAAAAAAAAAAAAAAA=
|
| 57 | TlRMTVNTUAADAAAAGAAYAEAAAAAYABgAWAAAAAAAAABwAAAACAAIAHAAAAALAAsAeAAAAAAAAAAAAAAAhoIBAFpkQwKRCZFMhjj0tw47wEjKHRHlvzfxQamFcheMuv8v+xeqphEO5V41xRd7R9deOXRlc3R1c2VyV09SS1NUQVRJT04=
|
| 58 | A003 SELECT %TESTNUMBER
|
| 59 | A004 FETCH 1 BODY[]
|
| 60 | A005 LOGOUT
|
| 61 | </protocol> |
| 62 | </verify> |
| 63 | </testcase> |