12 # This is supposed to be returned when the server gets a first
13 # Authorization: NTLM line passed-in from the client
15 HTTP/1.1 401 Now gimme that second request of crap
16 Server: Microsoft-IIS/5.0
18 Content-Type: text/html; charset=iso-8859-1
19 WWW-Authenticate: NTLM TlRMTVNTUAACAAAAAgACADAAAAAGgoEAc51AYVDgyNcAAAAAAAAAAG4AbgAyAAAAQ0MCAAQAQwBDAAEAEgBFAEwASQBTAEEAQgBFAFQASAAEABgAYwBjAC4AaQBjAGUAZABlAHYALgBuAHUAAwAsAGUAbABpAHMAYQBiAGUAdABoAC4AYwBjAC4AaQBjAGUAZABlAHYALgBuAHUAAAAAAA==
21 This is not the real page either!
24 # This is supposed to be returned when the server gets the second
25 # Authorization: NTLM line passed-in from the client
27 HTTP/1.1 401 You give me wrong password
28 Server: Microsoft-IIS/5.0
29 WWW-Authenticate: NTLM
31 Content-Type: text/html; charset=iso-8859-1
33 Wrong password dude. Get it fixed and return.
37 HTTP/1.1 401 Now gimme that second request of crap
38 Server: Microsoft-IIS/5.0
40 Content-Type: text/html; charset=iso-8859-1
41 WWW-Authenticate: NTLM TlRMTVNTUAACAAAAAgACADAAAAAGgoEAc51AYVDgyNcAAAAAAAAAAG4AbgAyAAAAQ0MCAAQAQwBDAAEAEgBFAEwASQBTAEEAQgBFAFQASAAEABgAYwBjAC4AaQBjAGUAZABlAHYALgBuAHUAAwAsAGUAbABpAHMAYQBiAGUAdABoAC4AYwBjAC4AaQBjAGUAZABlAHYALgBuAHUAAAAAAA==
43 HTTP/1.1 401 You give me wrong password
44 Server: Microsoft-IIS/5.0
45 WWW-Authenticate: NTLM
47 Content-Type: text/html; charset=iso-8859-1
49 Wrong password dude. Get it fixed and return.
65 HTTP with NTLM authorization and wrong password
68 # we force our own host name, in order to make the test machine independent
69 CURL_GETHOSTNAME=curlhost
70 # we try to use the LD_PRELOAD hack, if not a debug build
71 LD_PRELOAD=%PWD/libtest/.libs/libhostname.so
74 http://%HOSTIP:%HTTPPORT/68 -u testuser:testpass --ntlm
81 # Verify data after the test has been "shot"
88 Host: %HOSTIP:%HTTPPORT
89 Authorization: NTLM TlRMTVNTUAABAAAABoIIAAAAAAAAAAAAAAAAAAAAAAA=
90 User-Agent: curl/7.10.6-pre1 (i686-pc-linux-gnu) libcurl/7.10.6-pre1 OpenSSL/0.9.7a ipv6 zlib/1.1.3
94 Host: %HOSTIP:%HTTPPORT
95 Authorization: NTLM TlRMTVNTUAADAAAAGAAYAEAAAACeAJ4AWAAAAAAAAAD2AAAACAAIAPYAAAAIAAgA/gAAAAAAAAAAAAAABoKBAMOv20GsURsat8gdH/RfnYI0MzIxNTMyMeCdd8AzFZLZ/N1ujmilmCcBAQAAAAAAAACAPtXesZ0BNDMyMTUzMjEAAAAAAgAEAEMAQwABABIARQBMAEkAUwBBAEIARQBUAEgABAAYAGMAYwAuAGkAYwBlAGQAZQB2AC4AbgB1AAMALABlAGwAaQBzAGEAYgBlAHQAaAAuAGMAYwAuAGkAYwBlAGQAZQB2AC4AbgB1AAAAAAAAAAAAdGVzdHVzZXJjdXJsaG9zdA==
96 User-Agent: curl/7.10.6-pre1 (i686-pc-linux-gnu) libcurl/7.10.6-pre1 OpenSSL/0.9.7a ipv6 zlib/1.1.3