4 HTTP/1.1 401 Authorization Required
\r
5 Server: Apache/1.3.27 (Darwin) PHP/4.1.2
\r
6 WWW-Authenticate: Basic
\r
7 WWW-Authenticate: Wild-and-crazy
\r
8 WWW-Authenticate: NTLM
\r
9 Content-Type: text/html; charset=iso-8859-1
\r
11 This is not the real page
14 # This is supposed to be returned when the server gets a first
15 # Authorization: NTLM line passed-in from the client
17 HTTP/1.1 401 Now gimme that second request of crap
\r
18 Server: Microsoft-IIS/5.0
\r
19 Content-Type: text/html; charset=iso-8859-1
\r
20 WWW-Authenticate: NTLM TlRMTVNTUAACAAAAAgACADAAAAAGgoEAc51AYVDgyNcAAAAAAAAAAG4AbgAyAAAAQ0MCAAQAQwBDAAEAEgBFAEwASQBTAEEAQgBFAFQASAAEABgAYwBjAC4AaQBjAGUAZABlAHYALgBuAHUAAwAsAGUAbABpAHMAYQBiAGUAdABoAC4AYwBjAC4AaQBjAGUAZABlAHYALgBuAHUAAAAAAA==
\r
22 This is not the real page either!
25 # This is supposed to be returned when the server gets the second
26 # Authorization: NTLM line passed-in from the client
28 HTTP/1.1 200 Things are fine in server land
\r
29 Server: Microsoft-IIS/5.0
\r
30 Content-Type: text/html; charset=iso-8859-1
\r
32 Finally, this is the real page!
36 HTTP/1.1 401 Authorization Required
\r
37 Server: Apache/1.3.27 (Darwin) PHP/4.1.2
\r
38 WWW-Authenticate: Basic
\r
39 WWW-Authenticate: Wild-and-crazy
\r
40 WWW-Authenticate: NTLM
\r
41 Content-Type: text/html; charset=iso-8859-1
\r
43 HTTP/1.1 401 Now gimme that second request of crap
\r
44 Server: Microsoft-IIS/5.0
\r
45 Content-Type: text/html; charset=iso-8859-1
\r
46 WWW-Authenticate: NTLM TlRMTVNTUAACAAAAAgACADAAAAAGgoEAc51AYVDgyNcAAAAAAAAAAG4AbgAyAAAAQ0MCAAQAQwBDAAEAEgBFAEwASQBTAEEAQgBFAFQASAAEABgAYwBjAC4AaQBjAGUAZABlAHYALgBuAHUAAwAsAGUAbABpAHMAYQBiAGUAdABoAC4AYwBjAC4AaQBjAGUAZABlAHYALgBuAHUAAAAAAA==
\r
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
52 Finally, this is the real page!
59 # NTLM only works if SSL-support is present
67 HTTP with NTLM, Basic or Wild-and-crazy authorization
70 http://%HOSTIP:%HOSTPORT/69 -u testuser:testpass --anyauth
74 # Verify data after the test has been "shot"
81 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
82 Host: 127.0.0.1:8999
\r
84 Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */*
\r
87 Authorization: NTLM TlRMTVNTUAABAAAAAgIAAAAAAAAgAAAAAAAAACAAAAA=
\r
88 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
89 Host: 127.0.0.1:8999
\r
91 Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */*
\r
94 Authorization: NTLM TlRMTVNTUAADAAAAGAAYAFAAAAAAAAAAaAAAAAAAAABAAAAAEAAQAEAAAAAAAAAAUAAAAAAAAABoAAAAAYIAAHRlc3R1c2VyAAAAAAAAAABaZEMCkQmRTIY49LcOO8BIyh0R5b838UE=
\r
95 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
96 Host: 127.0.0.1:8999
\r
98 Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */*
\r