4 # no <data> in this test since we have NTLM from the start
6 # This is supposed to be returned when the server gets a first
7 # Authorization: NTLM line passed-in from the client
9 HTTP/1.1 401 Now gimme that second request of crap
\r
10 Server: Microsoft-IIS/5.0
\r
11 Content-Type: text/html; charset=iso-8859-1
\r
13 WWW-Authenticate: NTLM TlRMTVNTUAACAAAAAgACADAAAAAGgoEAc51AYVDgyNcAAAAAAAAAAG4AbgAyAAAAQ0MCAAQAQwBDAAEAEgBFAEwASQBTAEEAQgBFAFQASAAEABgAYwBjAC4AaQBjAGUAZABlAHYALgBuAHUAAwAsAGUAbABpAHMAYQBiAGUAdABoAC4AYwBjAC4AaQBjAGUAZABlAHYALgBuAHUAAAAAAA==
\r
15 This is not the real page either!
18 # This is supposed to be returned when the server gets the second
19 # Authorization: NTLM line passed-in from the client
21 HTTP/1.1 301 Things are fine in server land swsclose
\r
22 Server: Microsoft-IIS/5.0
\r
24 Location: /you/890010
\r
28 # This is the first reply after the redirection
30 HTTP/1.1 401 Now gimme that second round of crap
\r
31 Server: Microsoft-IIS/5.0
\r
32 Content-Type: text/html; charset=iso-8859-1
\r
34 WWW-Authenticate: NTLM TlRMTVNTUAACAAAAAgACADAAAAAGgoEAc51AYVDgyNcAAAAAAAAAAG4AbgAyAAAAQ0MCAAQAQwBDAAEAEgBFAEwASQBTAEEAQgBFAFQASAAEABgAYwBjAC4AaQBjAGUAZABlAHYALgBuAHUAAwAsAGUAbABpAHMAYQBiAGUAdABoAC4AYwBjAC4AaQBjAGUAZABlAHYALgBuAHUAAAAAAA==
\r
36 This is not the real page either!
39 # This is supposed to be returned when the server gets the second
40 # Authorization: NTLM line passed-in from the client
42 HTTP/1.1 200 Things are fine in server land swsclose
\r
43 Server: Microsoft-IIS/5.0
\r
44 Content-Type: text/html; charset=iso-8859-1
\r
46 Finally, this is the real page!
50 HTTP/1.1 401 Now gimme that second request of crap
\r
51 Server: Microsoft-IIS/5.0
\r
52 Content-Type: text/html; charset=iso-8859-1
\r
54 WWW-Authenticate: NTLM TlRMTVNTUAACAAAAAgACADAAAAAGgoEAc51AYVDgyNcAAAAAAAAAAG4AbgAyAAAAQ0MCAAQAQwBDAAEAEgBFAEwASQBTAEEAQgBFAFQASAAEABgAYwBjAC4AaQBjAGUAZABlAHYALgBuAHUAAwAsAGUAbABpAHMAYQBiAGUAdABoAC4AYwBjAC4AaQBjAGUAZABlAHYALgBuAHUAAAAAAA==
\r
56 HTTP/1.1 301 Things are fine in server land swsclose
\r
57 Server: Microsoft-IIS/5.0
\r
59 Location: /you/890010
\r
61 HTTP/1.1 401 Now gimme that second round of crap
\r
62 Server: Microsoft-IIS/5.0
\r
63 Content-Type: text/html; charset=iso-8859-1
\r
65 WWW-Authenticate: NTLM TlRMTVNTUAACAAAAAgACADAAAAAGgoEAc51AYVDgyNcAAAAAAAAAAG4AbgAyAAAAQ0MCAAQAQwBDAAEAEgBFAEwASQBTAEEAQgBFAFQASAAEABgAYwBjAC4AaQBjAGUAZABlAHYALgBuAHUAAwAsAGUAbABpAHMAYQBiAGUAdABoAC4AYwBjAC4AaQBjAGUAZABlAHYALgBuAHUAAAAAAA==
\r
67 HTTP/1.1 200 Things are fine in server land swsclose
\r
68 Server: Microsoft-IIS/5.0
\r
69 Content-Type: text/html; charset=iso-8859-1
\r
71 Finally, this is the real page!
78 # NTLM only works if SSL-support is present
86 HTTP with NTLM and follow-location
89 http://%HOSTIP:%HTTPPORT/89 -u testuser:testpass --ntlm -L
93 # Verify data after the test has been "shot"
100 Authorization: NTLM TlRMTVNTUAABAAAAAgIAAAAAAAAgAAAAAAAAACAAAAA=
\r
101 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
102 Host: 127.0.0.1:%HTTPPORT
\r
107 Authorization: NTLM TlRMTVNTUAADAAAAGAAYAEgAAAAYABgAYAAAAAAAAABAAAAACAAIAEAAAAAAAAAASAAAAAAAAAB4AAAAAYIAAHRlc3R1c2VyWmRDApEJkUyGOPS3DjvASModEeW/N/FBqYVyF4y6/y/7F6qmEQ7lXjXFF3tH1145
\r
108 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
109 Host: 127.0.0.1:%HTTPPORT
\r
113 GET /you/890010 HTTP/1.1
\r
114 Authorization: NTLM TlRMTVNTUAABAAAAAgIAAAAAAAAgAAAAAAAAACAAAAA=
\r
115 User-Agent: curl/7.10.8-pre1 (i686-pc-linux-gnu) libcurl/7.10.8-pre1 OpenSSL/0.9.7a ipv6 zlib/1.1.3 GSS
\r
116 Host: 127.0.0.1:%HTTPPORT
\r
120 GET /you/890010 HTTP/1.1
\r
121 Authorization: NTLM TlRMTVNTUAADAAAAGAAYAEgAAAAYABgAYAAAAAAAAABAAAAACAAIAEAAAAAAAAAASAAAAAAAAAB4AAAAAYIAAHRlc3R1c2VyWmRDApEJkUyGOPS3DjvASModEeW/N/FBqYVyF4y6/y/7F6qmEQ7lXjXFF3tH1145
\r
122 User-Agent: curl/7.10.8-pre1 (i686-pc-linux-gnu) libcurl/7.10.8-pre1 OpenSSL/0.9.7a ipv6 zlib/1.1.3 GSS
\r
123 Host: 127.0.0.1:%HTTPPORT
\r