15 HTTP/1.1 401 Authorization Required swsclose
\r
16 Server: Apache/1.3.27 (Darwin) PHP/4.1.2
\r
17 WWW-Authenticate: Basic
\r
18 WWW-Authenticate: Wild-and-crazy
\r
19 WWW-Authenticate: NTLM
\r
20 Content-Type: text/html; charset=iso-8859-1
\r
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
\r
30 Server: Microsoft-IIS/5.0
\r
31 Content-Type: text/html; charset=iso-8859-1
\r
33 WWW-Authenticate: NTLM TlRMTVNTUAACAAAAAgACADAAAAAGgoEAc51AYVDgyNcAAAAAAAAAAG4AbgAyAAAAQ0MCAAQAQwBDAAEAEgBFAEwASQBTAEEAQgBFAFQASAAEABgAYwBjAC4AaQBjAGUAZABlAHYALgBuAHUAAwAsAGUAbABpAHMAYQBiAGUAdABoAC4AYwBjAC4AaQBjAGUAZABlAHYALgBuAHUAAAAAAA==
\r
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
\r
42 Server: Microsoft-IIS/5.0
\r
44 Location: /you/900010
\r
48 # This is the first reply after the redirection
50 HTTP/1.1 401 Authorization Required swsclose
\r
51 Server: Apache/1.3.27 (Darwin) PHP/4.1.2
\r
52 WWW-Authenticate: Basic
\r
53 WWW-Authenticate: Wild-and-crazy
\r
54 WWW-Authenticate: NTLM
\r
55 Content-Type: text/html; charset=iso-8859-1
\r
58 This is not the real page
62 HTTP/1.1 401 Now gimme that second round of crap
\r
63 Server: Microsoft-IIS/5.0
\r
64 Content-Type: text/html; charset=iso-8859-1
\r
66 WWW-Authenticate: NTLM TlRMTVNTUAACAAAAAgACADAAAAAGgoEAc51AYVDgyNcAAAAAAAAAAG4AbgAyAAAAQ0MCAAQAQwBDAAEAEgBFAEwASQBTAEEAQgBFAFQASAAEABgAYwBjAC4AaQBjAGUAZABlAHYALgBuAHUAAwAsAGUAbABpAHMAYQBiAGUAdABoAC4AYwBjAC4AaQBjAGUAZABlAHYALgBuAHUAAAAAAA==
\r
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
\r
75 Server: Microsoft-IIS/5.0
\r
76 Content-Type: text/html; charset=iso-8859-1
\r
79 Finally, this is the real page!
83 HTTP/1.1 401 Authorization Required swsclose
\r
84 Server: Apache/1.3.27 (Darwin) PHP/4.1.2
\r
85 WWW-Authenticate: Basic
\r
86 WWW-Authenticate: Wild-and-crazy
\r
87 WWW-Authenticate: NTLM
\r
88 Content-Type: text/html; charset=iso-8859-1
\r
91 HTTP/1.1 401 Now gimme that second request of crap
\r
92 Server: Microsoft-IIS/5.0
\r
93 Content-Type: text/html; charset=iso-8859-1
\r
95 WWW-Authenticate: NTLM TlRMTVNTUAACAAAAAgACADAAAAAGgoEAc51AYVDgyNcAAAAAAAAAAG4AbgAyAAAAQ0MCAAQAQwBDAAEAEgBFAEwASQBTAEEAQgBFAFQASAAEABgAYwBjAC4AaQBjAGUAZABlAHYALgBuAHUAAwAsAGUAbABpAHMAYQBiAGUAdABoAC4AYwBjAC4AaQBjAGUAZABlAHYALgBuAHUAAAAAAA==
\r
97 HTTP/1.1 301 Things are fine in server land swsclose
\r
98 Server: Microsoft-IIS/5.0
\r
100 Location: /you/900010
\r
102 HTTP/1.1 401 Authorization Required swsclose
\r
103 Server: Apache/1.3.27 (Darwin) PHP/4.1.2
\r
104 WWW-Authenticate: Basic
\r
105 WWW-Authenticate: Wild-and-crazy
\r
106 WWW-Authenticate: NTLM
\r
107 Content-Type: text/html; charset=iso-8859-1
\r
110 HTTP/1.1 401 Now gimme that second round of crap
\r
111 Server: Microsoft-IIS/5.0
\r
112 Content-Type: text/html; charset=iso-8859-1
\r
114 WWW-Authenticate: NTLM TlRMTVNTUAACAAAAAgACADAAAAAGgoEAc51AYVDgyNcAAAAAAAAAAG4AbgAyAAAAQ0MCAAQAQwBDAAEAEgBFAEwASQBTAEEAQgBFAFQASAAEABgAYwBjAC4AaQBjAGUAZABlAHYALgBuAHUAAwAsAGUAbABpAHMAYQBiAGUAdABoAC4AYwBjAC4AaQBjAGUAZABlAHYALgBuAHUAAAAAAA==
\r
116 HTTP/1.1 200 Things are fine in server land swsclose
\r
117 Server: Microsoft-IIS/5.0
\r
118 Content-Type: text/html; charset=iso-8859-1
\r
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
\r
164 Host: %HOSTIP:%HTTPPORT
\r
165 Authorization: NTLM TlRMTVNTUAABAAAABoIIAAAAAAAAAAAAAAAAAAAAAAA=
\r
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
\r
170 Host: %HOSTIP:%HTTPPORT
\r
171 Authorization: NTLM TlRMTVNTUAADAAAAGAAYAEAAAACeAJ4AWAAAAAAAAAD2AAAACAAIAPYAAAAIAAgA/gAAAAAAAAAAAAAABoKBAL9LNW5+nkyHZRmyFaL/LJ4xMjM0MjIzNGUCyhgQ9hw6eWAT13EbDa0BAQAAAAAAAACAPtXesZ0BMTIzNDIyMzQAAAAAAgAEAEMAQwABABIARQBMAEkAUwBBAEIARQBUAEgABAAYAGMAYwAuAGkAYwBlAGQAZQB2AC4AbgB1AAMALABlAGwAaQBzAGEAYgBlAHQAaAAuAGMAYwAuAGkAYwBlAGQAZQB2AC4AbgB1AAAAAAAAAAAAdGVzdHVzZXJjdXJsaG9zdA==
\r
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
\r
175 GET /you/900010 HTTP/1.1
\r
176 Host: %HOSTIP:%HTTPPORT
\r
179 GET /you/900010 HTTP/1.1
\r
180 Host: %HOSTIP:%HTTPPORT
\r
181 Authorization: NTLM TlRMTVNTUAABAAAABoIIAAAAAAAAAAAAAAAAAAAAAAA=
\r
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
\r
185 GET /you/900010 HTTP/1.1
\r
186 Host: %HOSTIP:%HTTPPORT
\r
187 Authorization: NTLM TlRMTVNTUAADAAAAGAAYAEAAAACeAJ4AWAAAAAAAAAD2AAAACAAIAPYAAAAIAAgA/gAAAAAAAAAAAAAABoKBALIBPdoGahtQQ8gQ7TJrKTYzMjM0NDIzNBFnpKw8B1BLcb456sVeozgBAQAAAAAAAACAPtXesZ0BMzIzNDQyMzQAAAAAAgAEAEMAQwABABIARQBMAEkAUwBBAEIARQBUAEgABAAYAGMAYwAuAGkAYwBlAGQAZQB2AC4AbgB1AAMALABlAGwAaQBzAGEAYgBlAHQAaAAuAGMAYwAuAGkAYwBlAGQAZQB2AC4AbgB1AAAAAAAAAAAAdGVzdHVzZXJjdXJsaG9zdA==
\r
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
\r