13 <!-- no <data> in this test since we have NTLM from the start
15 This is supposed to be returned when the server gets a first
16 Authorization: NTLM line passed-in from the client -->
19 HTTP/1.1 401 Now gimme that second request of crap
20 Server: Microsoft-IIS/5.0
21 Content-Type: text/html; charset=iso-8859-1
23 WWW-Authenticate: NTLM TlRMTVNTUAACAAAAAgACADAAAAAGgoEAc51AYVDgyNcAAAAAAAAAAG4AbgAyAAAAQ0MCAAQAQwBDAAEAEgBFAEwASQBTAEEAQgBFAFQASAAEABgAYwBjAC4AaQBjAGUAZABlAHYALgBuAHUAAwAsAGUAbABpAHMAYQBiAGUAdABoAC4AYwBjAC4AaQBjAGUAZABlAHYALgBuAHUAAAAAAA==
25 This is not the real page either!
28 # This is supposed to be returned when the server gets the second
29 # Authorization: NTLM line passed-in from the client
31 HTTP/1.1 301 Things are fine in server land swsclose
32 Server: Microsoft-IIS/5.0
38 # This is the first reply after the redirection
40 HTTP/1.1 401 Now gimme that second round of crap
41 Server: Microsoft-IIS/5.0
42 Content-Type: text/html; charset=iso-8859-1
44 WWW-Authenticate: NTLM TlRMTVNTUAACAAAAAgACADAAAAAGgoEAc51AYVDgyNcAAAAAAAAAAG4AbgAyAAAAQ0MCAAQAQwBDAAEAEgBFAEwASQBTAEEAQgBFAFQASAAEABgAYwBjAC4AaQBjAGUAZABlAHYALgBuAHUAAwAsAGUAbABpAHMAYQBiAGUAdABoAC4AYwBjAC4AaQBjAGUAZABlAHYALgBuAHUAAAAAAA==
46 This is not the real page either!
49 # This is supposed to be returned when the server gets the second
50 # Authorization: NTLM line passed-in from the client
52 HTTP/1.1 200 Things are fine in server land swsclose
53 Server: Microsoft-IIS/5.0
54 Content-Type: text/html; charset=iso-8859-1
57 Finally, this is the real page!
61 HTTP/1.1 401 Now gimme that second request of crap
62 Server: Microsoft-IIS/5.0
63 Content-Type: text/html; charset=iso-8859-1
65 WWW-Authenticate: NTLM TlRMTVNTUAACAAAAAgACADAAAAAGgoEAc51AYVDgyNcAAAAAAAAAAG4AbgAyAAAAQ0MCAAQAQwBDAAEAEgBFAEwASQBTAEEAQgBFAFQASAAEABgAYwBjAC4AaQBjAGUAZABlAHYALgBuAHUAAwAsAGUAbABpAHMAYQBiAGUAdABoAC4AYwBjAC4AaQBjAGUAZABlAHYALgBuAHUAAAAAAA==
67 HTTP/1.1 301 Things are fine in server land swsclose
68 Server: Microsoft-IIS/5.0
72 HTTP/1.1 401 Now gimme that second round of crap
73 Server: Microsoft-IIS/5.0
74 Content-Type: text/html; charset=iso-8859-1
76 WWW-Authenticate: NTLM TlRMTVNTUAACAAAAAgACADAAAAAGgoEAc51AYVDgyNcAAAAAAAAAAG4AbgAyAAAAQ0MCAAQAQwBDAAEAEgBFAEwASQBTAEEAQgBFAFQASAAEABgAYwBjAC4AaQBjAGUAZABlAHYALgBuAHUAAwAsAGUAbABpAHMAYQBiAGUAdABoAC4AYwBjAC4AaQBjAGUAZABlAHYALgBuAHUAAAAAAA==
78 HTTP/1.1 200 Things are fine in server land swsclose
79 Server: Microsoft-IIS/5.0
80 Content-Type: text/html; charset=iso-8859-1
83 Finally, this is the real page!
99 HTTP with NTLM and follow-location
102 # we force our own host name, in order to make the test machine independent
103 CURL_GETHOSTNAME=curlhost
104 # we try to use the LD_PRELOAD hack, if not a debug build
105 LD_PRELOAD=%PWD/libtest/.libs/libhostname.so
108 http://%HOSTIP:%HTTPPORT/89 -u testuser:testpass --ntlm -L
115 # Verify data after the test has been "shot"
122 Host: %HOSTIP:%HTTPPORT
123 Authorization: NTLM TlRMTVNTUAABAAAABoIIAAAAAAAAAAAAAAAAAAAAAAA=
124 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
128 Host: %HOSTIP:%HTTPPORT
129 Authorization: NTLM TlRMTVNTUAADAAAAGAAYAEAAAACeAJ4AWAAAAAAAAAD2AAAACAAIAPYAAAAIAAgA/gAAAAAAAAAAAAAABoKBAMOv20GsURsat8gdH/RfnYI0MzIxNTMyMeCdd8AzFZLZ/N1ujmilmCcBAQAAAAAAAACAPtXesZ0BNDMyMTUzMjEAAAAAAgAEAEMAQwABABIARQBMAEkAUwBBAEIARQBUAEgABAAYAGMAYwAuAGkAYwBlAGQAZQB2AC4AbgB1AAMALABlAGwAaQBzAGEAYgBlAHQAaAAuAGMAYwAuAGkAYwBlAGQAZQB2AC4AbgB1AAAAAAAAAAAAdGVzdHVzZXJjdXJsaG9zdA==
130 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
133 GET /you/890010 HTTP/1.1
134 Host: %HOSTIP:%HTTPPORT
135 Authorization: NTLM TlRMTVNTUAABAAAABoIIAAAAAAAAAAAAAAAAAAAAAAA=
136 User-Agent: curl/7.10.8-pre1 (i686-pc-linux-gnu) libcurl/7.10.8-pre1 OpenSSL/0.9.7a ipv6 zlib/1.1.3 GSS
139 GET /you/890010 HTTP/1.1
140 Host: %HOSTIP:%HTTPPORT
141 Authorization: NTLM TlRMTVNTUAADAAAAGAAYAEAAAACeAJ4AWAAAAAAAAAD2AAAACAAIAPYAAAAIAAgA/gAAAAAAAAAAAAAABoKBAOv8cm3wOKJ5nhWWScOgdUI2MzIxNzMyMVgNcU0f3zxHeccvitN7zHkBAQAAAAAAAACAPtXesZ0BNjMyMTczMjEAAAAAAgAEAEMAQwABABIARQBMAEkAUwBBAEIARQBUAEgABAAYAGMAYwAuAGkAYwBlAGQAZQB2AC4AbgB1AAMALABlAGwAaQBzAGEAYgBlAHQAaAAuAGMAYwAuAGkAYwBlAGQAZQB2AC4AbgB1AAAAAAAAAAAAdGVzdHVzZXJjdXJsaG9zdA==
142 User-Agent: curl/7.10.8-pre1 (i686-pc-linux-gnu) libcurl/7.10.8-pre1 OpenSSL/0.9.7a ipv6 zlib/1.1.3 GSS