8 HTTP/1.1 401 NTLM Authorization Required swsclose
\r
9 Server: Apache/1.3.27 (Darwin) PHP/4.1.2
\r
10 WWW-Authenticate: Blackmagic realm="gimme all yer s3cr3ts"
\r
11 WWW-Authenticate: Basic realm="gimme all yer s3cr3ts"
\r
12 WWW-Authenticate: NTLM
\r
13 Content-Type: text/html; charset=iso-8859-1
\r
19 # This is supposed to be returned when the server gets a first
20 # Authorization: NTLM line passed-in from the client
22 HTTP/1.1 401 Type-1 received, send back type-2
\r
23 Server: Microsoft-IIS/5.0
\r
25 Content-Type: text/html; charset=iso-8859-1
\r
26 WWW-Authenticate: NTLM TlRMTVNTUAACAAAAAgACADAAAAAGgoEAc51AYVDgyNcAAAAAAAAAAG4AbgAyAAAAQ0MCAAQAQwBDAAEAEgBFAEwASQBTAEEAQgBFAFQASAAEABgAYwBjAC4AaQBjAGUAZABlAHYALgBuAHUAAwAsAGUAbABpAHMAYQBiAGUAdABoAC4AYwBjAC4AaQBjAGUAZABlAHYALgBuAHUAAAAAAA==
\r
28 This is not the real page either!
31 # This is supposed to be returned when the server gets the second
32 # Authorization: NTLM line passed-in from the client
34 HTTP/1.1 200 Type-3 Recevied and all Things are fine swsclose
\r
35 Server: Microsoft-IIS/5.0
\r
36 Content-Type: text/html; charset=iso-8859-1
\r
39 Finally, this is the real page!
43 HTTP/1.1 401 NTLM Authorization Required swsclose
\r
44 Server: Apache/1.3.27 (Darwin) PHP/4.1.2
\r
45 WWW-Authenticate: Blackmagic realm="gimme all yer s3cr3ts"
\r
46 WWW-Authenticate: Basic realm="gimme all yer s3cr3ts"
\r
47 WWW-Authenticate: NTLM
\r
48 Content-Type: text/html; charset=iso-8859-1
\r
51 HTTP/1.1 401 Type-1 received, send back type-2
\r
52 Server: Microsoft-IIS/5.0
\r
54 Content-Type: text/html; charset=iso-8859-1
\r
55 WWW-Authenticate: NTLM TlRMTVNTUAACAAAAAgACADAAAAAGgoEAc51AYVDgyNcAAAAAAAAAAG4AbgAyAAAAQ0MCAAQAQwBDAAEAEgBFAEwASQBTAEEAQgBFAFQASAAEABgAYwBjAC4AaQBjAGUAZABlAHYALgBuAHUAAwAsAGUAbABpAHMAYQBiAGUAdABoAC4AYwBjAC4AaQBjAGUAZABlAHYALgBuAHUAAAAAAA==
\r
57 HTTP/1.1 200 Type-3 Recevied and all Things are fine swsclose
\r
58 Server: Microsoft-IIS/5.0
\r
59 Content-Type: text/html; charset=iso-8859-1
\r
62 Finally, this is the real page!
76 HTTP PUT with --anyauth authorization (picking NTLM)
79 # we force our own host name, in order to make the test machine independent
80 CURL_GETHOSTNAME=curlhost
81 # we try to use the LD_PRELOAD hack, if not a debug build
82 LD_PRELOAD=%PWD/libtest/.libs/libhostname.so
85 http://%HOSTIP:%HTTPPORT/155 -T log/put155 -u testuser:testpass --anyauth
90 <file name="log/put155">
91 This is data we upload with PUT
94 four is the number of lines
98 # Verify data after the test has been "shot"
105 Host: %HOSTIP:%HTTPPORT
\r
108 Expect: 100-continue
\r
111 Authorization: NTLM TlRMTVNTUAABAAAABoIIAAAAAAAAAAAAAAAAAAAAAAA=
\r
112 Host: %HOSTIP:%HTTPPORT
\r
115 Expect: 100-continue
\r
118 Authorization: NTLM TlRMTVNTUAADAAAAGAAYAEAAAAAYABgAWAAAAAAAAABwAAAACAAIAHAAAAAIAAgAeAAAAAAAAAAAAAAABoKBAFpkQwKRCZFMhjj0tw47wEjKHRHlvzfxQamFcheMuv8v+xeqphEO5V41xRd7R9deOXRlc3R1c2VyY3VybGhvc3Q=
\r
119 User-Agent: curl/7.10.5 (i686-pc-linux-gnu) libcurl/7.10.5 OpenSSL/0.9.7a ipv6 zlib/1.1.3
\r
120 Host: %HOSTIP:%HTTPPORT
\r
123 Expect: 100-continue
\r
125 This is data we upload with PUT
128 four is the number of lines