16 HTTP/1.1 401 NTLM Authorization Required swsclose
\r
17 Server: Apache/1.3.27 (Darwin) PHP/4.1.2
\r
18 WWW-Authenticate: Blackmagic realm="gimme all yer s3cr3ts"
\r
19 WWW-Authenticate: Basic realm="gimme all yer s3cr3ts"
\r
20 WWW-Authenticate: NTLM
\r
21 Content-Type: text/html; charset=iso-8859-1
\r
27 # This is supposed to be returned when the server gets a first
28 # Authorization: NTLM line passed-in from the client
30 HTTP/1.1 401 Type-1 received, send back type-2
\r
31 Server: Microsoft-IIS/5.0
\r
33 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 Type-3 Recevied and all Things are fine swsclose
\r
43 Server: Microsoft-IIS/5.0
\r
44 Content-Type: text/html; charset=iso-8859-1
\r
47 Finally, this is the real page!
51 HTTP/1.1 401 NTLM Authorization Required swsclose
\r
52 Server: Apache/1.3.27 (Darwin) PHP/4.1.2
\r
53 WWW-Authenticate: Blackmagic realm="gimme all yer s3cr3ts"
\r
54 WWW-Authenticate: Basic realm="gimme all yer s3cr3ts"
\r
55 WWW-Authenticate: NTLM
\r
56 Content-Type: text/html; charset=iso-8859-1
\r
59 HTTP/1.1 401 Type-1 received, send back type-2
\r
60 Server: Microsoft-IIS/5.0
\r
62 Content-Type: text/html; charset=iso-8859-1
\r
63 WWW-Authenticate: NTLM TlRMTVNTUAACAAAAAgACADAAAAAGgoEAc51AYVDgyNcAAAAAAAAAAG4AbgAyAAAAQ0MCAAQAQwBDAAEAEgBFAEwASQBTAEEAQgBFAFQASAAEABgAYwBjAC4AaQBjAGUAZABlAHYALgBuAHUAAwAsAGUAbABpAHMAYQBiAGUAdABoAC4AYwBjAC4AaQBjAGUAZABlAHYALgBuAHUAAAAAAA==
\r
65 HTTP/1.1 200 Type-3 Recevied and all Things are fine swsclose
\r
66 Server: Microsoft-IIS/5.0
\r
67 Content-Type: text/html; charset=iso-8859-1
\r
70 Finally, this is the real page!
86 HTTP PUT with --anyauth authorization (picking NTLM)
89 # we force our own host name, in order to make the test machine independent
90 CURL_GETHOSTNAME=curlhost
91 # we try to use the LD_PRELOAD hack, if not a debug build
92 LD_PRELOAD=%PWD/libtest/.libs/libhostname.so
95 http://%HOSTIP:%HTTPPORT/155 -T log/put155 -u testuser:testpass --anyauth
100 <file name="log/put155">
101 This is data we upload with PUT
104 four is the number of lines
108 # Verify data after the test has been "shot"
115 Host: %HOSTIP:%HTTPPORT
\r
118 Expect: 100-continue
\r
121 Host: %HOSTIP:%HTTPPORT
\r
122 Authorization: NTLM TlRMTVNTUAABAAAABoIIAAAAAAAAAAAAAAAAAAAAAAA=
\r
127 Host: %HOSTIP:%HTTPPORT
\r
128 Authorization: NTLM TlRMTVNTUAADAAAAGAAYAEAAAACeAJ4AWAAAAAAAAAD2AAAACAAIAPYAAAAIAAgA/gAAAAAAAAAAAAAABoKBAL9LNW5+nkyHZRmyFaL/LJ4xMjM0MjIzNGUCyhgQ9hw6eWAT13EbDa0BAQAAAAAAAACAPtXesZ0BMTIzNDIyMzQAAAAAAgAEAEMAQwABABIARQBMAEkAUwBBAEIARQBUAEgABAAYAGMAYwAuAGkAYwBlAGQAZQB2AC4AbgB1AAMALABlAGwAaQBzAGEAYgBlAHQAaAAuAGMAYwAuAGkAYwBlAGQAZQB2AC4AbgB1AAAAAAAAAAAAdGVzdHVzZXJjdXJsaG9zdA==
\r
129 User-Agent: curl/7.10.5 (i686-pc-linux-gnu) libcurl/7.10.5 OpenSSL/0.9.7a ipv6 zlib/1.1.3
\r
132 Expect: 100-continue
\r
134 This is data we upload with PUT
137 four is the number of lines