4 HTTP/1.1 401 Authorization Required
\r
5 Server: Apache/1.3.27 (Darwin) PHP/4.1.2
\r
6 WWW-Authenticate: NTLM
\r
7 Content-Type: text/html; charset=iso-8859-1
\r
9 This is not the real page
12 # This is supposed to be returned when the server gets a first
13 # Authorization: NTLM line passed-in from the client
15 HTTP/1.1 401 Now gimme that second request of crap
\r
16 Server: Microsoft-IIS/5.0
\r
17 Content-Type: text/html; charset=iso-8859-1
\r
18 WWW-Authenticate: NTLM TlRMTVNTUAACAAAAAgACADAAAAAGgoEAc51AYVDgyNcAAAAAAAAAAG4AbgAyAAAAQ0MCAAQAQwBDAAEAEgBFAEwASQBTAEEAQgBFAFQASAAEABgAYwBjAC4AaQBjAGUAZABlAHYALgBuAHUAAwAsAGUAbABpAHMAYQBiAGUAdABoAC4AYwBjAC4AaQBjAGUAZABlAHYALgBuAHUAAAAAAA==
\r
20 This is not the real page either!
23 # This is supposed to be returned when the server gets the second
24 # Authorization: NTLM line passed-in from the client
26 HTTP/1.1 200 Things are fine in server land
\r
27 Server: Microsoft-IIS/5.0
\r
28 Content-Type: text/html; charset=iso-8859-1
\r
30 Finally, this is the real page!
34 HTTP/1.1 401 Authorization Required
\r
35 Server: Apache/1.3.27 (Darwin) PHP/4.1.2
\r
36 WWW-Authenticate: NTLM
\r
37 Content-Type: text/html; charset=iso-8859-1
\r
39 HTTP/1.1 401 Now gimme that second request of crap
\r
40 Server: Microsoft-IIS/5.0
\r
41 Content-Type: text/html; charset=iso-8859-1
\r
42 WWW-Authenticate: NTLM TlRMTVNTUAACAAAAAgACADAAAAAGgoEAc51AYVDgyNcAAAAAAAAAAG4AbgAyAAAAQ0MCAAQAQwBDAAEAEgBFAEwASQBTAEEAQgBFAFQASAAEABgAYwBjAC4AaQBjAGUAZABlAHYALgBuAHUAAwAsAGUAbABpAHMAYQBiAGUAdABoAC4AYwBjAC4AaQBjAGUAZABlAHYALgBuAHUAAAAAAA==
\r
44 HTTP/1.1 200 Things are fine in server land
\r
45 Server: Microsoft-IIS/5.0
\r
46 Content-Type: text/html; charset=iso-8859-1
\r
48 Finally, this is the real page!
55 # NTLM only works if SSL-support is present
63 HTTP with NTLM authorization
66 http://%HOSTIP:%HOSTPORT/67 -u testuser:testpass --ntlm
70 # Verify data after the test has been "shot"
77 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
78 Host: 127.0.0.1:8999
\r
80 Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */*
\r
83 Authorization: NTLM TlRMTVNTUAABAAAAA7IAAAQABAAkAAAABAAEACAAAABIQVhYQ1VSTA==
\r
84 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
85 Host: 127.0.0.1:8999
\r
87 Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */*
\r
90 Authorization: NTLM TlRMTVNTUAADAAAAGAAYAGAAAAAYABgAeAAAAAgACABAAAAAEAAQAEgAAAAIAAgAWAAAAAAAAACQAAAAAYIAAEMAVQBSAEwAdABlAHMAdAB1AHMAZQByAEgAQQBYAFgAWmRDApEJkUyGOPS3DjvASModEeW/N/FBqYVyF4y6/y/7F6qmEQ7lXjXFF3tH1145
\r
91 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
92 Host: 127.0.0.1:8999
\r
94 Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */*
\r