12 <!-- First request has NTLM auth, wrong password -->
14 HTTP/1.1 401 Need NTLM auth
15 Server: Microsoft-IIS/5.0
16 Content-Type: text/html; charset=iso-8859-1
18 WWW-Authenticate: NTLM
20 This is not the real page!
24 HTTP/1.1 401 NTLM intermediate
25 Server: Microsoft-IIS/5.0
26 Content-Type: text/html; charset=iso-8859-1
28 WWW-Authenticate: NTLM TlRMTVNTUAACAAAACAAIADAAAAAGggEAq6U1NAWaJCIAAAAAAAAAAAAAAAA4AAAATlRMTUF1dGg=
30 This is still not the real page!
34 HTTP/1.1 401 Sorry wrong password
35 Server: Microsoft-IIS/5.0
36 Content-Type: text/html; charset=iso-8859-1
38 WWW-Authenticate: NTLM
40 This is a bad password page!
43 <!-- Second request has NTLM auth, right password -->
45 HTTP/1.1 401 Need NTLM auth (2)
46 Server: Microsoft-IIS/5.0
47 Content-Type: text/html; charset=iso-8859-1
49 WWW-Authenticate: NTLM
51 This is not the real page!
55 HTTP/1.1 401 NTLM intermediate (2)
56 Server: Microsoft-IIS/5.0
57 Content-Type: text/html; charset=iso-8859-1
59 WWW-Authenticate: NTLM TlRMTVNTUAACAAAACAAIADAAAAAGggEAq6U1NAWaJCIAAAAAAAAAAAAAAAA4AAAATlRMTUF1dGg=
61 This is still not the real page!
65 HTTP/1.1 200 Things are fine in server land
66 Server: Microsoft-IIS/5.0
67 Content-Type: text/html; charset=iso-8859-1
70 Finally, this is the real page!
73 <!-- Third request has NTLM auth, wrong password -->
75 HTTP/1.1 401 Need NTLM auth (3)
76 Server: Microsoft-IIS/5.0
77 Content-Type: text/html; charset=iso-8859-1
79 WWW-Authenticate: NTLM
81 This is not the real page!
85 HTTP/1.1 401 NTLM intermediate (3)
86 Server: Microsoft-IIS/5.0
87 Content-Type: text/html; charset=iso-8859-1
89 WWW-Authenticate: NTLM TlRMTVNTUAACAAAACAAIADAAAAAGggEAq6U1NAWaJCIAAAAAAAAAAAAAAAA4AAAATlRMTUF1dGg=
91 This is still not the real page!
95 HTTP/1.1 401 Sorry wrong password (2)
96 Server: Microsoft-IIS/5.0
97 Content-Type: text/html; charset=iso-8859-1
99 WWW-Authenticate: NTLM
101 This is a bad password page!
104 <!-- Fourth request has NTLM auth, wrong password -->
106 HTTP/1.1 401 Need NTLM auth (4)
107 Server: Microsoft-IIS/5.0
108 Content-Type: text/html; charset=iso-8859-1
110 WWW-Authenticate: NTLM
112 This is not the real page!
116 HTTP/1.1 401 NTLM intermediate (4)
117 Server: Microsoft-IIS/5.0
118 Content-Type: text/html; charset=iso-8859-1
120 WWW-Authenticate: NTLM TlRMTVNTUAACAAAACAAIADAAAAAGggEAq6U1NAWaJCIAAAAAAAAAAAAAAAA4AAAATlRMTUF1dGg=
122 This is still not the real page!
126 HTTP/1.1 401 Sorry wrong password (3)
127 Server: Microsoft-IIS/5.0
128 Content-Type: text/html; charset=iso-8859-1
130 WWW-Authenticate: NTLM
132 This is a bad password page!
135 <!-- Fifth request has NTLM auth, right password -->
137 HTTP/1.1 401 Need NTLM auth (5)
138 Server: Microsoft-IIS/5.0
139 Content-Type: text/html; charset=iso-8859-1
141 WWW-Authenticate: NTLM
143 This is not the real page!
147 HTTP/1.1 401 NTLM intermediate (5)
148 Server: Microsoft-IIS/5.0
149 Content-Type: text/html; charset=iso-8859-1
151 WWW-Authenticate: NTLM TlRMTVNTUAACAAAACAAIADAAAAAGggEAq6U1NAWaJCIAAAAAAAAAAAAAAAA4AAAATlRMTUF1dGg=
153 This is still not the real page!
157 HTTP/1.1 200 Things are fine in server land (2)
158 Server: Microsoft-IIS/5.0
159 Content-Type: text/html; charset=iso-8859-1
162 Finally, this is the real page!
166 HTTP/1.1 401 NTLM intermediate
167 Server: Microsoft-IIS/5.0
168 Content-Type: text/html; charset=iso-8859-1
170 WWW-Authenticate: NTLM TlRMTVNTUAACAAAACAAIADAAAAAGggEAq6U1NAWaJCIAAAAAAAAAAAAAAAA4AAAATlRMTUF1dGg=
172 HTTP/1.1 401 Sorry wrong password
173 Server: Microsoft-IIS/5.0
174 Content-Type: text/html; charset=iso-8859-1
176 WWW-Authenticate: NTLM
178 This is a bad password page!
179 HTTP/1.1 401 NTLM intermediate (2)
180 Server: Microsoft-IIS/5.0
181 Content-Type: text/html; charset=iso-8859-1
183 WWW-Authenticate: NTLM TlRMTVNTUAACAAAACAAIADAAAAAGggEAq6U1NAWaJCIAAAAAAAAAAAAAAAA4AAAATlRMTUF1dGg=
185 HTTP/1.1 200 Things are fine in server land
186 Server: Microsoft-IIS/5.0
187 Content-Type: text/html; charset=iso-8859-1
190 Finally, this is the real page!
191 HTTP/1.1 401 NTLM intermediate (3)
192 Server: Microsoft-IIS/5.0
193 Content-Type: text/html; charset=iso-8859-1
195 WWW-Authenticate: NTLM TlRMTVNTUAACAAAACAAIADAAAAAGggEAq6U1NAWaJCIAAAAAAAAAAAAAAAA4AAAATlRMTUF1dGg=
197 HTTP/1.1 401 Sorry wrong password (2)
198 Server: Microsoft-IIS/5.0
199 Content-Type: text/html; charset=iso-8859-1
201 WWW-Authenticate: NTLM
203 This is a bad password page!
204 HTTP/1.1 401 NTLM intermediate (4)
205 Server: Microsoft-IIS/5.0
206 Content-Type: text/html; charset=iso-8859-1
208 WWW-Authenticate: NTLM TlRMTVNTUAACAAAACAAIADAAAAAGggEAq6U1NAWaJCIAAAAAAAAAAAAAAAA4AAAATlRMTUF1dGg=
210 HTTP/1.1 401 Sorry wrong password (3)
211 Server: Microsoft-IIS/5.0
212 Content-Type: text/html; charset=iso-8859-1
214 WWW-Authenticate: NTLM
216 This is a bad password page!
217 HTTP/1.1 401 NTLM intermediate (5)
218 Server: Microsoft-IIS/5.0
219 Content-Type: text/html; charset=iso-8859-1
221 WWW-Authenticate: NTLM TlRMTVNTUAACAAAACAAIADAAAAAGggEAq6U1NAWaJCIAAAAAAAAAAAAAAAA4AAAATlRMTUF1dGg=
223 HTTP/1.1 200 Things are fine in server land (2)
224 Server: Microsoft-IIS/5.0
225 Content-Type: text/html; charset=iso-8859-1
228 Finally, this is the real page!
247 HTTP authorization retry (NTLM)
250 # we force our own host name, in order to make the test machine independent
251 CURL_GETHOSTNAME=curlhost
252 # we try to use the LD_PRELOAD hack, if not a debug build
253 LD_PRELOAD=%PWD/libtest/.libs/libhostname.so
256 http://%HOSTIP:%HTTPPORT/2031 ntlm ntlm
263 # Verify data after the test has been "shot"
269 GET /20310100 HTTP/1.1
270 Host: %HOSTIP:%HTTPPORT
271 Authorization: NTLM TlRMTVNTUAABAAAABoIIAAAAAAAAAAAAAAAAAAAAAAA=
274 GET /20310100 HTTP/1.1
275 Host: %HOSTIP:%HTTPPORT
276 Authorization: NTLM TlRMTVNTUAADAAAAGAAYAEAAAAAYABgAWAAAAAAAAABwAAAACAAIAHAAAAAIAAgAeAAAAAAAAAAAAAAABoIBANgKEcT5xUUBHw5+0m4FjWTGNzg6PeHJHbaPwNwCt/tXcnIeTQCTMAg12SPDyNXMf3Rlc3R1c2VyY3VybGhvc3Q=
279 GET /20310200 HTTP/1.1
280 Host: %HOSTIP:%HTTPPORT
281 Authorization: NTLM TlRMTVNTUAABAAAABoIIAAAAAAAAAAAAAAAAAAAAAAA=
284 GET /20310200 HTTP/1.1
285 Host: %HOSTIP:%HTTPPORT
286 Authorization: NTLM TlRMTVNTUAADAAAAGAAYAEAAAAAYABgAWAAAAAAAAABwAAAACAAIAHAAAAAIAAgAeAAAAAAAAAAAAAAABoIBAI+/Fp9IERAQ74OsdNPbBpg7o8CVwLSO4DtFyIcZHUMKVktWIu92s2892OVpd2JzqnRlc3R1c2VyY3VybGhvc3Q=
289 GET /20310300 HTTP/1.1
290 Host: %HOSTIP:%HTTPPORT
291 Authorization: NTLM TlRMTVNTUAABAAAABoIIAAAAAAAAAAAAAAAAAAAAAAA=
294 GET /20310300 HTTP/1.1
295 Host: %HOSTIP:%HTTPPORT
296 Authorization: NTLM TlRMTVNTUAADAAAAGAAYAEAAAAAYABgAWAAAAAAAAABwAAAACAAIAHAAAAAIAAgAeAAAAAAAAAAAAAAABoIBANgKEcT5xUUBHw5+0m4FjWTGNzg6PeHJHbaPwNwCt/tXcnIeTQCTMAg12SPDyNXMf3Rlc3R1c2VyY3VybGhvc3Q=
299 GET /20310400 HTTP/1.1
300 Host: %HOSTIP:%HTTPPORT
301 Authorization: NTLM TlRMTVNTUAABAAAABoIIAAAAAAAAAAAAAAAAAAAAAAA=
304 GET /20310400 HTTP/1.1
305 Host: %HOSTIP:%HTTPPORT
306 Authorization: NTLM TlRMTVNTUAADAAAAGAAYAEAAAAAYABgAWAAAAAAAAABwAAAACAAIAHAAAAAIAAgAeAAAAAAAAAAAAAAABoIBANgKEcT5xUUBHw5+0m4FjWTGNzg6PeHJHbaPwNwCt/tXcnIeTQCTMAg12SPDyNXMf3Rlc3R1c2VyY3VybGhvc3Q=
309 GET /20310500 HTTP/1.1
310 Host: %HOSTIP:%HTTPPORT
311 Authorization: NTLM TlRMTVNTUAABAAAABoIIAAAAAAAAAAAAAAAAAAAAAAA=
314 GET /20310500 HTTP/1.1
315 Host: %HOSTIP:%HTTPPORT
316 Authorization: NTLM TlRMTVNTUAADAAAAGAAYAEAAAAAYABgAWAAAAAAAAABwAAAACAAIAHAAAAAIAAgAeAAAAAAAAAAAAAAABoIBAI+/Fp9IERAQ74OsdNPbBpg7o8CVwLSO4DtFyIcZHUMKVktWIu92s2892OVpd2JzqnRlc3R1c2VyY3VybGhvc3Q=