1<testcase> 2<info> 3<keywords> 4HTTP 5HTTP GET 6HTTP NTLM auth 7NTLM 8</keywords> 9</info> 10# Server-side 11<reply> 12 13# This is supposed to be returned when the server gets a first 14# Authorization: NTLM line passed-in from the client 15<data1001> 16HTTP/1.1 401 Now gimme that second request of crap 17Server: Microsoft-IIS/5.0 18Content-Length: 34 19Content-Type: text/html; charset=iso-8859-1 20WWW-Authenticate: NTLM TlRMTVNTUAACAAAAAgACADAAAACGggEAc51AYVDgyNcAAAAAAAAAAG4AbgAyAAAAQ0MCAAQAQwBDAAEAEgBFAEwASQBTAEEAQgBFAFQASAAEABgAYwBjAC4AaQBjAGUAZABlAHYALgBuAHUAAwAsAGUAbABpAHMAYQBiAGUAdABoAC4AYwBjAC4AaQBjAGUAZABlAHYALgBuAHUAAAAAAA== 21 22This is not the real page either! 23</data1001> 24 25# This is supposed to be returned when the server gets the second 26# Authorization: NTLM line passed-in from the client 27<data1002> 28HTTP/1.1 401 You give me wrong password 29Server: Microsoft-IIS/5.0 30WWW-Authenticate: NTLM 31Content-Length: 46 32Content-Type: text/html; charset=iso-8859-1 33 34Wrong password dude. Get it fixed and return. 35</data1002> 36 37<datacheck> 38HTTP/1.1 401 Now gimme that second request of crap 39Server: Microsoft-IIS/5.0 40Content-Length: 34 41Content-Type: text/html; charset=iso-8859-1 42WWW-Authenticate: NTLM TlRMTVNTUAACAAAAAgACADAAAACGggEAc51AYVDgyNcAAAAAAAAAAG4AbgAyAAAAQ0MCAAQAQwBDAAEAEgBFAEwASQBTAEEAQgBFAFQASAAEABgAYwBjAC4AaQBjAGUAZABlAHYALgBuAHUAAwAsAGUAbABpAHMAYQBiAGUAdABoAC4AYwBjAC4AaQBjAGUAZABlAHYALgBuAHUAAAAAAA== 43 44HTTP/1.1 401 You give me wrong password 45Server: Microsoft-IIS/5.0 46WWW-Authenticate: NTLM 47Content-Length: 46 48Content-Type: text/html; charset=iso-8859-1 49 50Wrong password dude. Get it fixed and return. 51</datacheck> 52 53</reply> 54 55# Client-side 56<client> 57<features> 58NTLM 59SSL 60!SSPI 61</features> 62<server> 63http 64</server> 65<name> 66HTTP with NTLM authorization and wrong password 67</name> 68<command> 69http://%HOSTIP:%HTTPPORT/%TESTNUMBER -u testuser:testpass --ntlm 70</command> 71</client> 72 73# Verify data after the test has been "shot" 74<verify> 75<protocol> 76GET /%TESTNUMBER HTTP/1.1 77Host: %HOSTIP:%HTTPPORT 78Authorization: NTLM TlRMTVNTUAABAAAABoIIAAAAAAAAAAAAAAAAAAAAAAA= 79User-Agent: curl/%VERSION 80Accept: */* 81 82GET /%TESTNUMBER HTTP/1.1 83Host: %HOSTIP:%HTTPPORT 84Authorization: NTLM TlRMTVNTUAADAAAAGAAYAEAAAAAYABgAWAAAAAAAAABwAAAACAAIAHAAAAALAAsAeAAAAAAAAAAAAAAAhoIBAFpkQwKRCZFMhjj0tw47wEjKHRHlvzfxQamFcheMuv8v+xeqphEO5V41xRd7R9deOXRlc3R1c2VyV09SS1NUQVRJT04= 85User-Agent: curl/%VERSION 86Accept: */* 87 88</protocol> 89</verify> 90</testcase> 91