8 HTTP/1.1 401 NTLM Authorization Required swsclose
9 Server: Apache/1.3.27 (Darwin) PHP/4.1.2
10 WWW-Authenticate: Blackmagic realm="gimme all yer s3cr3ts"
11 WWW-Authenticate: Basic realm="gimme all yer s3cr3ts"
12 WWW-Authenticate: NTLM
13 Content-Type: text/html; charset=iso-8859-1
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
23 Server: Microsoft-IIS/5.0
25 Content-Type: text/html; charset=iso-8859-1
26 WWW-Authenticate: NTLM TlRMTVNTUAACAAAAAgACADAAAAAGgoEAc51AYVDgyNcAAAAAAAAAAG4AbgAyAAAAQ0MCAAQAQwBDAAEAEgBFAEwASQBTAEEAQgBFAFQASAAEABgAYwBjAC4AaQBjAGUAZABlAHYALgBuAHUAAwAsAGUAbABpAHMAYQBiAGUAdABoAC4AYwBjAC4AaQBjAGUAZABlAHYALgBuAHUAAAAAAA==
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
35 Server: Microsoft-IIS/5.0
36 Content-Type: text/html; charset=iso-8859-1
39 Finally, this is the real page!
43 HTTP/1.1 401 NTLM Authorization Required swsclose
44 Server: Apache/1.3.27 (Darwin) PHP/4.1.2
45 WWW-Authenticate: Blackmagic realm="gimme all yer s3cr3ts"
46 WWW-Authenticate: Basic realm="gimme all yer s3cr3ts"
47 WWW-Authenticate: NTLM
48 Content-Type: text/html; charset=iso-8859-1
51 HTTP/1.1 401 Type-1 received, send back type-2
52 Server: Microsoft-IIS/5.0
54 Content-Type: text/html; charset=iso-8859-1
55 WWW-Authenticate: NTLM TlRMTVNTUAACAAAAAgACADAAAAAGgoEAc51AYVDgyNcAAAAAAAAAAG4AbgAyAAAAQ0MCAAQAQwBDAAEAEgBFAEwASQBTAEEAQgBFAFQASAAEABgAYwBjAC4AaQBjAGUAZABlAHYALgBuAHUAAwAsAGUAbABpAHMAYQBiAGUAdABoAC4AYwBjAC4AaQBjAGUAZABlAHYALgBuAHUAAAAAAA==
57 HTTP/1.1 200 Type-3 Recevied and all Things are fine swsclose
58 Server: Microsoft-IIS/5.0
59 Content-Type: text/html; charset=iso-8859-1
62 Finally, this is the real page!
76 HTTP PUT with --anyauth authorization (picking NTLM)
79 http://%HOSTIP:%HTTPPORT/155 -T log/put155 -u testuser:testpass --anyauth
81 <file name="log/put155">
82 This is data we upload with PUT
85 four is the number of lines
89 # Verify data after the test has been "shot"
94 # We strip off a large chunk of the type-2 NTLM message since it depends on
95 # the local host name and thus differs on different machines!
97 s/^(Authorization: NTLM TlRMTVNTUAADAAAAGAAYAEAAAAAYABgAWAAAAAAAAABwAAAACAAIAHAAAAA).*/$1/
101 Host: %HOSTIP:%HTTPPORT
107 Authorization: NTLM TlRMTVNTUAABAAAABoIIAAAAAAAAAAAAAAAAAAAAAAA=
108 Host: %HOSTIP:%HTTPPORT
114 Authorization: NTLM TlRMTVNTUAADAAAAGAAYAEAAAAAYABgAWAAAAAAAAABwAAAACAAIAHAAAAA
115 User-Agent: curl/7.10.5 (i686-pc-linux-gnu) libcurl/7.10.5 OpenSSL/0.9.7a ipv6 zlib/1.1.3
116 Host: %HOSTIP:%HTTPPORT
121 This is data we upload with PUT
124 four is the number of lines