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 407 Now gimme that second request of crap
16 Server: Microsoft-IIS/5.0
17 Content-Type: text/html; charset=iso-8859-1
19 Proxy-Authenticate: NTLM TlRMTVNTUAACAAAAAgACADAAAAAGgoEAc51AYVDgyNcAAAAAAAAAAG4AbgAyAAAAQ0MCAAQAQwBDAAEAEgBFAEwASQBTAEEAQgBFAFQASAAEABgAYwBjAC4AaQBjAGUAZABlAHYALgBuAHUAAwAsAGUAbABpAHMAYQBiAGUAdABoAC4AYwBjAC4AaQBjAGUAZABlAHYALgBuAHUAAAAAAA==
21 This is not the real page either!
24 # This is supposed to be returned when the server gets the second
25 # Authorization: NTLM line passed-in from the client
27 HTTP/1.1 200 Things are fine in server land swsclose
28 Server: Microsoft-IIS/5.0
29 Content-Type: text/html; charset=iso-8859-1
32 Finally, this is the real page!
36 HTTP/1.1 407 Now gimme that second request of crap
37 Server: Microsoft-IIS/5.0
38 Content-Type: text/html; charset=iso-8859-1
40 Proxy-Authenticate: NTLM TlRMTVNTUAACAAAAAgACADAAAAAGgoEAc51AYVDgyNcAAAAAAAAAAG4AbgAyAAAAQ0MCAAQAQwBDAAEAEgBFAEwASQBTAEEAQgBFAFQASAAEABgAYwBjAC4AaQBjAGUAZABlAHYALgBuAHUAAwAsAGUAbABpAHMAYQBiAGUAdABoAC4AYwBjAC4AaQBjAGUAZABlAHYALgBuAHUAAAAAAA==
42 HTTP/1.1 200 Things are fine in server land swsclose
43 Server: Microsoft-IIS/5.0
44 Content-Type: text/html; charset=iso-8859-1
47 Finally, this is the real page!
61 HTTP with proxy using NTLM authorization
64 http://%HOSTIP:%HTTPPORT/81 --proxy-user testuser:testpass -x http://%HOSTIP:%HTTPPORT --proxy-ntlm
68 # Verify data after the test has been "shot"
73 # We strip off a large chunk of the type-2 NTLM message since it depends on
74 # the local host name and thus differs on different machines!
76 s/(Authorization: NTLM TlRMTVNTUAADAAAAGAAYAEAAAAAYABgAWAAAAAAAAABwAAAACAAIAHAAAAA).*/$1/
79 GET http://%HOSTIP:%HTTPPORT/81 HTTP/1.1
80 Proxy-Authorization: NTLM TlRMTVNTUAABAAAABoIIAAAAAAAAAAAAAAAAAAAAAAA=
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
82 Host: %HOSTIP:%HTTPPORT
85 Proxy-Connection: Keep-Alive
87 GET http://%HOSTIP:%HTTPPORT/81 HTTP/1.1
88 Proxy-Authorization: NTLM TlRMTVNTUAADAAAAGAAYAEAAAAAYABgAWAAAAAAAAABwAAAACAAIAHAAAAA
89 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
90 Host: %HOSTIP:%HTTPPORT
93 Proxy-Connection: Keep-Alive