6 <!-- no <data> in this test since we have NTLM from the start
8 This is supposed to be returned when the server gets a first
9 Authorization: NTLM line passed-in from the client -->
12 HTTP/1.1 401 Now gimme that second request of crap
\r
13 Server: Microsoft-IIS/5.0
\r
14 Content-Type: text/html; charset=iso-8859-1
\r
16 WWW-Authenticate: NTLM TlRMTVNTUAACAAAAAgACADAAAAAGgoEAc51AYVDgyNcAAAAAAAAAAG4AbgAyAAAAQ0MCAAQAQwBDAAEAEgBFAEwASQBTAEEAQgBFAFQASAAEABgAYwBjAC4AaQBjAGUAZABlAHYALgBuAHUAAwAsAGUAbABpAHMAYQBiAGUAdABoAC4AYwBjAC4AaQBjAGUAZABlAHYALgBuAHUAAAAAAA==
\r
18 This is not the real page either!
21 # This is supposed to be returned when the server gets the second
22 # Authorization: NTLM line passed-in from the client
24 HTTP/1.1 200 Things are fine in server land swsclose
\r
25 Server: Microsoft-IIS/5.0
\r
26 Content-Type: text/html; charset=iso-8859-1
\r
29 Finally, this is the real page!
33 HTTP/1.1 401 Now gimme that second request of crap
\r
34 Server: Microsoft-IIS/5.0
\r
35 Content-Type: text/html; charset=iso-8859-1
\r
37 WWW-Authenticate: NTLM TlRMTVNTUAACAAAAAgACADAAAAAGgoEAc51AYVDgyNcAAAAAAAAAAG4AbgAyAAAAQ0MCAAQAQwBDAAEAEgBFAEwASQBTAEEAQgBFAFQASAAEABgAYwBjAC4AaQBjAGUAZABlAHYALgBuAHUAAwAsAGUAbABpAHMAYQBiAGUAdABoAC4AYwBjAC4AaQBjAGUAZABlAHYALgBuAHUAAAAAAA==
\r
39 HTTP/1.1 200 Things are fine in server land swsclose
\r
40 Server: Microsoft-IIS/5.0
\r
41 Content-Type: text/html; charset=iso-8859-1
\r
44 Finally, this is the real page!
58 HTTP with NTLM authorization and --fail
61 # we force our own host name, in order to make the test machine independent
62 CURL_GETHOSTNAME=curlhost
63 # we try to use the LD_PRELOAD hack, if not a debug build
64 LD_PRELOAD=%PWD/libtest/.libs/libhostname.so
67 http://%HOSTIP:%HTTPPORT/150 -u testuser:testpass --ntlm --fail
74 # Verify data after the test has been "shot"
81 Authorization: NTLM TlRMTVNTUAABAAAABoIIAAAAAAAAAAAAAAAAAAAAAAA=
\r
82 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
\r
83 Host: %HOSTIP:%HTTPPORT
\r
87 Authorization: NTLM TlRMTVNTUAADAAAAGAAYAEAAAAAYABgAWAAAAAAAAABwAAAACAAIAHAAAAAIAAgAeAAAAAAAAAAAAAAABoKBAFpkQwKRCZFMhjj0tw47wEjKHRHlvzfxQamFcheMuv8v+xeqphEO5V41xRd7R9deOXRlc3R1c2VyY3VybGhvc3Q=
\r
88 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
\r
89 Host: %HOSTIP:%HTTPPORT
\r