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 | SASL-IR |
| 8 | NTLM |
| 9 | </keywords> |
| 10 | </info> |
| 11 | |
| 12 | # |
| 13 | # Server-side |
| 14 | <reply> |
| 15 | <servercmd> |
| 16 | AUTH NTLM |
| 17 | CAPA SASL-IR |
| 18 | REPLY AUTHENTICATE + TlRMTVNTUAACAAAAAgACADAAAACGggEAc51AYVDgyNcAAAAAAAAAAG4AbgAyAAAAQ0MCAAQAQwBDAAEAEgBFAEwASQBTAEEAQgBFAFQASAAEABgAYwBjAC4AaQBjAGUAZABlAHYALgBuAHUAAwAsAGUAbABpAHMAYQBiAGUAdABoAC4AYwBjAC4AaQBjAGUAZABlAHYALgBuAHUAAAAAAA== |
| 19 | REPLY TlRMTVNTUAADAAAAGAAYAEAAAAAYABgAWAAAAAAAAABwAAAACAAIAHAAAAALAAsAeAAAAAAAAAAAAAAAhoIBAFpkQwKRCZFMhjj0tw47wEjKHRHlvzfxQamFcheMuv8v+xeqphEO5V41xRd7R9deOXRlc3R1c2VyV09SS1NUQVRJT04= A002 OK AUTHENTICATE completed |
| 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 | imap |
| 37 | </server> |
| 38 | <features> |
| 39 | NTLM |
| 40 | SSL |
| 41 | !SSPI |
| 42 | </features> |
| 43 | <name> |
| 44 | IMAP NTLM authentication with initial response |
| 45 | </name> |
| 46 | <command> |
| 47 | 'imap://%HOSTIP:%IMAPPORT/%TESTNUMBER/;MAILINDEX=1' -u testuser:testpass |
| 48 | </command> |
| 49 | </client> |
| 50 | |
| 51 | # |
| 52 | # Verify data after the test has been "shot" |
| 53 | <verify> |
| 54 | <protocol> |
| 55 | A001 CAPABILITY
|
| 56 | A002 AUTHENTICATE NTLM TlRMTVNTUAABAAAABoIIAAAAAAAAAAAAAAAAAAAAAAA=
|
| 57 | TlRMTVNTUAADAAAAGAAYAEAAAAAYABgAWAAAAAAAAABwAAAACAAIAHAAAAALAAsAeAAAAAAAAAAAAAAAhoIBAFpkQwKRCZFMhjj0tw47wEjKHRHlvzfxQamFcheMuv8v+xeqphEO5V41xRd7R9deOXRlc3R1c2VyV09SS1NUQVRJT04=
|
| 58 | A003 SELECT %TESTNUMBER
|
| 59 | A004 FETCH 1 BODY[]
|
| 60 | A005 LOGOUT
|
| 61 | </protocol> |
| 62 | </verify> |
| 63 | </testcase> |