15 HTTP/1.1 401 Authorization Required swsclose
16 Server: Apache/1.3.27 (Darwin) PHP/4.1.2
17 WWW-Authenticate: Basic
18 WWW-Authenticate: Wild-and-crazy
19 WWW-Authenticate: NTLM
20 Content-Type: text/html; charset=iso-8859-1
23 This is not the real page
26 # This is supposed to be returned when the server gets a first
27 # Authorization: NTLM line passed-in from the client
29 HTTP/1.1 401 Now gimme that second request of crap
30 Server: Microsoft-IIS/5.0
31 Content-Type: text/html; charset=iso-8859-1
33 WWW-Authenticate: NTLM TlRMTVNTUAACAAAAAgACADAAAAAGgoEAc51AYVDgyNcAAAAAAAAAAG4AbgAyAAAAQ0MCAAQAQwBDAAEAEgBFAEwASQBTAEEAQgBFAFQASAAEABgAYwBjAC4AaQBjAGUAZABlAHYALgBuAHUAAwAsAGUAbABpAHMAYQBiAGUAdABoAC4AYwBjAC4AaQBjAGUAZABlAHYALgBuAHUAAAAAAA==
35 This is not the real page either!
38 # This is supposed to be returned when the server gets the second
39 # Authorization: NTLM line passed-in from the client
41 HTTP/1.1 301 Things are fine in server land swsclose
42 Server: Microsoft-IIS/5.0
48 # This is the first reply after the redirection
50 HTTP/1.1 401 Authorization Required swsclose
51 Server: Apache/1.3.27 (Darwin) PHP/4.1.2
52 WWW-Authenticate: Basic
53 WWW-Authenticate: Wild-and-crazy
54 WWW-Authenticate: NTLM
55 Content-Type: text/html; charset=iso-8859-1
58 This is not the real page
62 HTTP/1.1 401 Now gimme that second round of crap
63 Server: Microsoft-IIS/5.0
64 Content-Type: text/html; charset=iso-8859-1
66 WWW-Authenticate: NTLM TlRMTVNTUAACAAAAAgACADAAAAAGgoEAc51AYVDgyNcAAAAAAAAAAG4AbgAyAAAAQ0MCAAQAQwBDAAEAEgBFAEwASQBTAEEAQgBFAFQASAAEABgAYwBjAC4AaQBjAGUAZABlAHYALgBuAHUAAwAsAGUAbABpAHMAYQBiAGUAdABoAC4AYwBjAC4AaQBjAGUAZABlAHYALgBuAHUAAAAAAA==
68 This is not the real page either!
71 # This is supposed to be returned when the server gets the second
72 # Authorization: NTLM line passed-in from the client
74 HTTP/1.1 200 Things are fine in server land swsclose
75 Server: Microsoft-IIS/5.0
76 Content-Type: text/html; charset=iso-8859-1
79 Finally, this is the real page!
83 HTTP/1.1 401 Authorization Required swsclose
84 Server: Apache/1.3.27 (Darwin) PHP/4.1.2
85 WWW-Authenticate: Basic
86 WWW-Authenticate: Wild-and-crazy
87 WWW-Authenticate: NTLM
88 Content-Type: text/html; charset=iso-8859-1
91 HTTP/1.1 401 Now gimme that second request of crap
92 Server: Microsoft-IIS/5.0
93 Content-Type: text/html; charset=iso-8859-1
95 WWW-Authenticate: NTLM TlRMTVNTUAACAAAAAgACADAAAAAGgoEAc51AYVDgyNcAAAAAAAAAAG4AbgAyAAAAQ0MCAAQAQwBDAAEAEgBFAEwASQBTAEEAQgBFAFQASAAEABgAYwBjAC4AaQBjAGUAZABlAHYALgBuAHUAAwAsAGUAbABpAHMAYQBiAGUAdABoAC4AYwBjAC4AaQBjAGUAZABlAHYALgBuAHUAAAAAAA==
97 HTTP/1.1 301 Things are fine in server land swsclose
98 Server: Microsoft-IIS/5.0
100 Location: /you/900010
102 HTTP/1.1 401 Authorization Required swsclose
103 Server: Apache/1.3.27 (Darwin) PHP/4.1.2
104 WWW-Authenticate: Basic
105 WWW-Authenticate: Wild-and-crazy
106 WWW-Authenticate: NTLM
107 Content-Type: text/html; charset=iso-8859-1
110 HTTP/1.1 401 Now gimme that second round of crap
111 Server: Microsoft-IIS/5.0
112 Content-Type: text/html; charset=iso-8859-1
114 WWW-Authenticate: NTLM TlRMTVNTUAACAAAAAgACADAAAAAGgoEAc51AYVDgyNcAAAAAAAAAAG4AbgAyAAAAQ0MCAAQAQwBDAAEAEgBFAEwASQBTAEEAQgBFAFQASAAEABgAYwBjAC4AaQBjAGUAZABlAHYALgBuAHUAAwAsAGUAbABpAHMAYQBiAGUAdABoAC4AYwBjAC4AaQBjAGUAZABlAHYALgBuAHUAAAAAAA==
116 HTTP/1.1 200 Things are fine in server land swsclose
117 Server: Microsoft-IIS/5.0
118 Content-Type: text/html; charset=iso-8859-1
121 Finally, this is the real page!
137 HTTP with NTLM via --anyauth, and then follow-location with NTLM again
140 # we force our own host name, in order to make the test machine independent
141 CURL_GETHOSTNAME=curlhost
142 # we try to use the LD_PRELOAD hack, if not a debug build
143 LD_PRELOAD=%PWD/libtest/.libs/libhostname.so
146 http://%HOSTIP:%HTTPPORT/90 -u testuser:testpass --anyauth -L
153 # Verify data after the test has been "shot"
160 Host: %HOSTIP:%HTTPPORT
164 Host: %HOSTIP:%HTTPPORT
165 Authorization: NTLM TlRMTVNTUAABAAAABoIIAAAAAAAAAAAAAAAAAAAAAAA=
166 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
170 Host: %HOSTIP:%HTTPPORT
171 Authorization: NTLM TlRMTVNTUAADAAAAGAAYAEAAAACeAJ4AWAAAAAAAAAD2AAAACAAIAPYAAAAIAAgA/gAAAAAAAAAAAAAABoKBAMOv20GsURsat8gdH/RfnYI0MzIxNTMyMeCdd8AzFZLZ/N1ujmilmCcBAQAAAAAAAACAPtXesZ0BNDMyMTUzMjEAAAAAAgAEAEMAQwABABIARQBMAEkAUwBBAEIARQBUAEgABAAYAGMAYwAuAGkAYwBlAGQAZQB2AC4AbgB1AAMALABlAGwAaQBzAGEAYgBlAHQAaAAuAGMAYwAuAGkAYwBlAGQAZQB2AC4AbgB1AAAAAAAAAAAAdGVzdHVzZXJjdXJsaG9zdA==
172 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
175 GET /you/900010 HTTP/1.1
176 Host: %HOSTIP:%HTTPPORT
179 GET /you/900010 HTTP/1.1
180 Host: %HOSTIP:%HTTPPORT
181 Authorization: NTLM TlRMTVNTUAABAAAABoIIAAAAAAAAAAAAAAAAAAAAAAA=
182 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
185 GET /you/900010 HTTP/1.1
186 Host: %HOSTIP:%HTTPPORT
187 Authorization: NTLM TlRMTVNTUAADAAAAGAAYAEAAAACeAJ4AWAAAAAAAAAD2AAAACAAIAPYAAAAIAAgA/gAAAAAAAAAAAAAABoKBAOv8cm3wOKJ5nhWWScOgdUI2MzIxNzMyMVgNcU0f3zxHeccvitN7zHkBAQAAAAAAAACAPtXesZ0BNjMyMTczMjEAAAAAAgAEAEMAQwABABIARQBMAEkAUwBBAEIARQBUAEgABAAYAGMAYwAuAGkAYwBlAGQAZQB2AC4AbgB1AAMALABlAGwAaQBzAGEAYgBlAHQAaAAuAGMAYwAuAGkAYwBlAGQAZQB2AC4AbgB1AAAAAAAAAAAAdGVzdHVzZXJjdXJsaG9zdA==
188 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