15 HTTP/1.1 401 Need Basic or NTLM auth
\r
16 Server: Microsoft-IIS/5.0
\r
17 Content-Type: text/html; charset=iso-8859-1
\r
19 WWW-Authenticate: NTLM
\r
20 WWW-Authenticate: Basic realm="testrealm"
\r
22 This is a bad password page!
27 HTTP/1.1 401 Need Basic or NTLM auth (2)
\r
28 Server: Microsoft-IIS/5.0
\r
29 Content-Type: text/html; charset=iso-8859-1
\r
31 WWW-Authenticate: NTLM
\r
32 WWW-Authenticate: Basic realm="testrealm"
\r
34 This is not the real page!
38 HTTP/1.1 401 NTLM intermediate (2)
\r
39 Server: Microsoft-IIS/5.0
\r
40 Content-Type: text/html; charset=iso-8859-1
\r
42 WWW-Authenticate: NTLM TlRMTVNTUAACAAAACAAIADAAAAAGggEAq6U1NAWaJCIAAAAAAAAAAAAAAAA4AAAATlRMTUF1dGg=
\r
44 This is still not the real page!
48 HTTP/1.1 200 Things are fine in server land
\r
49 Server: Microsoft-IIS/5.0
\r
50 Content-Type: text/html; charset=iso-8859-1
\r
53 Finally, this is the real page!
57 HTTP/1.1 401 Need Basic or NTLM auth
\r
58 Server: Microsoft-IIS/5.0
\r
59 Content-Type: text/html; charset=iso-8859-1
\r
61 WWW-Authenticate: NTLM
\r
62 WWW-Authenticate: Basic realm="testrealm"
\r
64 This is a bad password page!
65 HTTP/1.1 401 Need Basic or NTLM auth
\r
66 Server: Microsoft-IIS/5.0
\r
67 Content-Type: text/html; charset=iso-8859-1
\r
69 WWW-Authenticate: NTLM
\r
70 WWW-Authenticate: Basic realm="testrealm"
\r
72 This is a bad password page!
73 HTTP/1.1 401 NTLM intermediate (2)
\r
74 Server: Microsoft-IIS/5.0
\r
75 Content-Type: text/html; charset=iso-8859-1
\r
77 WWW-Authenticate: NTLM TlRMTVNTUAACAAAACAAIADAAAAAGggEAq6U1NAWaJCIAAAAAAAAAAAAAAAA4AAAATlRMTUF1dGg=
\r
79 HTTP/1.1 200 Things are fine in server land
\r
80 Server: Microsoft-IIS/5.0
\r
81 Content-Type: text/html; charset=iso-8859-1
\r
84 Finally, this is the real page!
103 NTLM connection mapping
106 # we force our own host name, in order to make the test machine independent
107 CURL_GETHOSTNAME=curlhost
108 # we try to use the LD_PRELOAD hack, if not a debug build
109 LD_PRELOAD=%PWD/libtest/.libs/libhostname.so
112 http://%HOSTIP:%HTTPPORT/2032
119 # Verify data after the test has been "shot"
125 GET /20320100 HTTP/1.1
\r
126 Host: 127.0.0.1:%HTTPPORT
\r
127 Authorization: Basic dGVzdHVzZXI6dGVzdHBhc3M=
\r
130 GET /20320100 HTTP/1.1
\r
131 Host: 127.0.0.1:%HTTPPORT
\r
132 Authorization: Basic dGVzdHVzZXI6dGVzdHBhc3M=
\r
135 GET /20320200 HTTP/1.1
\r
136 Host: 127.0.0.1:%HTTPPORT
\r
137 Authorization: NTLM TlRMTVNTUAABAAAABoIIAAAAAAAAAAAAAAAAAAAAAAA=
\r
140 GET /20320200 HTTP/1.1
\r
141 Host: 127.0.0.1:%HTTPPORT
\r
142 Authorization: NTLM TlRMTVNTUAADAAAAGAAYAEAAAAAYABgAWAAAAAAAAABwAAAACAAIAHAAAAAIAAgAeAAAAAAAAAAAAAAABoIBAI+/Fp9IERAQ74OsdNPbBpg7o8CVwLSO4DtFyIcZHUMKVktWIu92s2892OVpd2JzqnRlc3R1c2VyY3VybGhvc3Q=
\r