13 <!-- no <data> in this test since we have NTLM from the start
15 This is supposed to be returned when the server gets a first
16 Authorization: NTLM line passed-in from the client -->
19 HTTP/1.1 401 Now gimme that second request of crap
\r
20 Server: Microsoft-IIS/5.0
\r
21 Content-Type: text/html; charset=iso-8859-1
\r
23 WWW-Authenticate: NTLM TlRMTVNTUAACAAAAAgACADAAAAAGgoEAc51AYVDgyNcAAAAAAAAAAG4AbgAyAAAAQ0MCAAQAQwBDAAEAEgBFAEwASQBTAEEAQgBFAFQASAAEABgAYwBjAC4AaQBjAGUAZABlAHYALgBuAHUAAwAsAGUAbABpAHMAYQBiAGUAdABoAC4AYwBjAC4AaQBjAGUAZABlAHYALgBuAHUAAAAAAA==
\r
25 This is not the real page either!
28 # This is supposed to be returned when the server gets the second
29 # Authorization: NTLM line passed-in from the client
31 HTTP/1.1 200 Things are fine in server land swsclose
\r
32 Server: Microsoft-IIS/5.0
\r
33 Content-Type: text/html; charset=iso-8859-1
\r
36 Finally, this is the real page!
40 HTTP/1.1 401 Now gimme that second request of crap
\r
41 Server: Microsoft-IIS/5.0
\r
42 Content-Type: text/html; charset=iso-8859-1
\r
44 WWW-Authenticate: NTLM TlRMTVNTUAACAAAAAgACADAAAAAGgoEAc51AYVDgyNcAAAAAAAAAAG4AbgAyAAAAQ0MCAAQAQwBDAAEAEgBFAEwASQBTAEEAQgBFAFQASAAEABgAYwBjAC4AaQBjAGUAZABlAHYALgBuAHUAAwAsAGUAbABpAHMAYQBiAGUAdABoAC4AYwBjAC4AaQBjAGUAZABlAHYALgBuAHUAAAAAAA==
\r
46 HTTP/1.1 200 Things are fine in server land swsclose
\r
47 Server: Microsoft-IIS/5.0
\r
48 Content-Type: text/html; charset=iso-8859-1
\r
51 Finally, this is the real page!
67 HTTP with NTLM authorization when talking HTTP/1.0
70 # we force our own host name, in order to make the test machine independent
71 CURL_GETHOSTNAME=curlhost
72 # we try to use the LD_PRELOAD hack, if not a debug build
73 LD_PRELOAD=%PWD/libtest/.libs/libhostname.so
76 http://%HOSTIP:%HTTPPORT/159 -u testuser:testpass --ntlm -0
83 # Verify data after the test has been "shot"
90 Authorization: NTLM TlRMTVNTUAABAAAABoIIAAAAAAAAAAAAAAAAAAAAAAA=
\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: %HOSTIP:%HTTPPORT
\r
96 Authorization: NTLM TlRMTVNTUAADAAAAGAAYAEAAAACeAJ4AWAAAAAAAAAD2AAAACAAIAPYAAAAIAAgA/gAAAAAAAAAAAAAABoKBAL9LNW5+nkyHZRmyFaL/LJ4xMjM0MjIzNGUCyhgQ9hw6eWAT13EbDa0BAQAAAAAAAACAPtXesZ0BMTIzNDIyMzQAAAAAAgAEAEMAQwABABIARQBMAEkAUwBBAEIARQBUAEgABAAYAGMAYwAuAGkAYwBlAGQAZQB2AC4AbgB1AAMALABlAGwAaQBzAGEAYgBlAHQAaAAuAGMAYwAuAGkAYwBlAGQAZQB2AC4AbgB1AAAAAAAAAAAAdGVzdHVzZXJjdXJsaG9zdA==
\r
97 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
98 Host: %HOSTIP:%HTTPPORT
\r