15 HTTP/1.1 401 NTLM Authorization Required swsclose
\r
16 Server: Apache/1.3.27 (Darwin) PHP/4.1.2
\r
17 WWW-Authenticate: Blackmagic realm="gimme all yer s3cr3ts"
\r
18 WWW-Authenticate: Basic realm="gimme all yer s3cr3ts"
\r
19 WWW-Authenticate: NTLM
\r
20 Content-Type: text/html; charset=iso-8859-1
\r
26 # This is supposed to be returned when the server gets a first
27 # Authorization: NTLM line passed-in from the client
29 HTTP/1.1 401 Type-1 received, send back type-2
\r
30 Server: Microsoft-IIS/5.0
\r
32 Content-Type: text/html; charset=iso-8859-1
\r
33 WWW-Authenticate: NTLM TlRMTVNTUAACAAAAAgACADAAAAAGgoEAc51AYVDgyNcAAAAAAAAAAG4AbgAyAAAAQ0MCAAQAQwBDAAEAEgBFAEwASQBTAEEAQgBFAFQASAAEABgAYwBjAC4AaQBjAGUAZABlAHYALgBuAHUAAwAsAGUAbABpAHMAYQBiAGUAdABoAC4AYwBjAC4AaQBjAGUAZABlAHYALgBuAHUAAAAAAA==
\r
35 This is not the real page either!
38 # This is supposed to be returned when the server gets the second
39 # Authorization: NTLM line passed-in from the client
41 HTTP/1.1 200 Type-3 Recevied and all Things are fine swsclose
\r
42 Server: Microsoft-IIS/5.0
\r
43 Content-Type: text/html; charset=iso-8859-1
\r
46 Finally, this is the real page!
50 HTTP/1.1 401 NTLM Authorization Required swsclose
\r
51 Server: Apache/1.3.27 (Darwin) PHP/4.1.2
\r
52 WWW-Authenticate: Blackmagic realm="gimme all yer s3cr3ts"
\r
53 WWW-Authenticate: Basic realm="gimme all yer s3cr3ts"
\r
54 WWW-Authenticate: NTLM
\r
55 Content-Type: text/html; charset=iso-8859-1
\r
58 HTTP/1.1 401 Type-1 received, send back type-2
\r
59 Server: Microsoft-IIS/5.0
\r
61 Content-Type: text/html; charset=iso-8859-1
\r
62 WWW-Authenticate: NTLM TlRMTVNTUAACAAAAAgACADAAAAAGgoEAc51AYVDgyNcAAAAAAAAAAG4AbgAyAAAAQ0MCAAQAQwBDAAEAEgBFAEwASQBTAEEAQgBFAFQASAAEABgAYwBjAC4AaQBjAGUAZABlAHYALgBuAHUAAwAsAGUAbABpAHMAYQBiAGUAdABoAC4AYwBjAC4AaQBjAGUAZABlAHYALgBuAHUAAAAAAA==
\r
64 HTTP/1.1 200 Type-3 Recevied and all Things are fine swsclose
\r
65 Server: Microsoft-IIS/5.0
\r
66 Content-Type: text/html; charset=iso-8859-1
\r
69 Finally, this is the real page!
83 HTTP PUT with --anyauth authorization (picking NTLM)
86 # we force our own host name, in order to make the test machine independent
87 CURL_GETHOSTNAME=curlhost
88 # we try to use the LD_PRELOAD hack, if not a debug build
89 LD_PRELOAD=%PWD/libtest/.libs/libhostname.so
92 http://%HOSTIP:%HTTPPORT/155 -T log/put155 -u testuser:testpass --anyauth
97 <file name="log/put155">
98 This is data we upload with PUT
101 four is the number of lines
105 # Verify data after the test has been "shot"
112 Host: %HOSTIP:%HTTPPORT
\r
115 Expect: 100-continue
\r
118 Authorization: NTLM TlRMTVNTUAABAAAABoIIAAAAAAAAAAAAAAAAAAAAAAA=
\r
119 Host: %HOSTIP:%HTTPPORT
\r
122 Expect: 100-continue
\r
125 Authorization: NTLM TlRMTVNTUAADAAAAGAAYAEAAAAAYABgAWAAAAAAAAABwAAAACAAIAHAAAAAIAAgAeAAAAAAAAAAAAAAABoKBAFpkQwKRCZFMhjj0tw47wEjKHRHlvzfxQamFcheMuv8v+xeqphEO5V41xRd7R9deOXRlc3R1c2VyY3VybGhvc3Q=
\r
126 User-Agent: curl/7.10.5 (i686-pc-linux-gnu) libcurl/7.10.5 OpenSSL/0.9.7a ipv6 zlib/1.1.3
\r
127 Host: %HOSTIP:%HTTPPORT
\r
130 Expect: 100-continue
\r
132 This is data we upload with PUT
135 four is the number of lines