12 HTTP/1.1 401 Authorization Required swsclose
\r
13 Server: Apache/1.3.27 (Darwin) PHP/4.1.2
\r
14 WWW-Authenticate: Magic-Negotiate
\r
15 WWW-Authenticate: NTLM
\r
16 WWW-Authenticate: Basic realm="daniel"
\r
17 Content-Type: text/html; charset=iso-8859-1
\r
23 # This is supposed to be returned when the server gets a first
24 # Authorization: NTLM line passed-in from the client
26 HTTP/1.1 401 Now gimme that second request of crap
\r
27 Server: Microsoft-IIS/5.0
\r
29 Content-Type: text/html; charset=iso-8859-1
\r
30 WWW-Authenticate: NTLM TlRMTVNTUAACAAAAAgACADAAAAAGgoEAc51AYVDgyNcAAAAAAAAAAG4AbgAyAAAAQ0MCAAQAQwBDAAEAEgBFAEwASQBTAEEAQgBFAFQASAAEABgAYwBjAC4AaQBjAGUAZABlAHYALgBuAHUAAwAsAGUAbABpAHMAYQBiAGUAdABoAC4AYwBjAC4AaQBjAGUAZABlAHYALgBuAHUAAAAAAA==
\r
32 This is not the real page either!
35 # This is supposed to be returned when the server gets the second
36 # Authorization: NTLM line passed-in from the client
38 HTTP/1.1 200 Things are fine in server land swsclose
\r
39 Server: Microsoft-IIS/5.0
\r
40 Content-Type: text/html; charset=iso-8859-1
\r
43 Finally, this is the real page!
47 HTTP/1.1 401 Authorization Required swsclose
\r
48 Server: Apache/1.3.27 (Darwin) PHP/4.1.2
\r
49 WWW-Authenticate: Magic-Negotiate
\r
50 WWW-Authenticate: NTLM
\r
51 WWW-Authenticate: Basic realm="daniel"
\r
52 Content-Type: text/html; charset=iso-8859-1
\r
56 HTTP/1.1 401 Now gimme that second request of crap
\r
57 Server: Microsoft-IIS/5.0
\r
59 Content-Type: text/html; charset=iso-8859-1
\r
60 WWW-Authenticate: NTLM TlRMTVNTUAACAAAAAgACADAAAAAGgoEAc51AYVDgyNcAAAAAAAAAAG4AbgAyAAAAQ0MCAAQAQwBDAAEAEgBFAEwASQBTAEEAQgBFAFQASAAEABgAYwBjAC4AaQBjAGUAZABlAHYALgBuAHUAAwAsAGUAbABpAHMAYQBiAGUAdABoAC4AYwBjAC4AaQBjAGUAZABlAHYALgBuAHUAAAAAAA==
\r
62 HTTP/1.1 200 Things are fine in server land swsclose
\r
63 Server: Microsoft-IIS/5.0
\r
64 Content-Type: text/html; charset=iso-8859-1
\r
67 Finally, this is the real page!
83 HTTP with NTLM/Negotiate/Basic, anyauth and user with domain, with size 0
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/91 --anyauth -u mydomain\\myself:secret
99 # Verify data after the test has been "shot"
106 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
107 Host: %HOSTIP:%HTTPPORT
\r
111 Authorization: NTLM TlRMTVNTUAABAAAABoIIAAAAAAAAAAAAAAAAAAAAAAA=
\r
112 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
113 Host: %HOSTIP:%HTTPPORT
\r
117 Authorization: NTLM TlRMTVNTUAADAAAAGAAYAEAAAACeAJ4AWAAAAAgACAD2AAAABgAGAP4AAAAIAAgABAEAAAAAAAAAAAAABoKBAI9byKoy6qyyS+1JCYN1XYoxMjM0MjIzNEYCr85trkciZ2j/7/T8MmUBAQAAAAAAAACAPtXesZ0BMTIzNDIyMzQAAAAAAgAEAEMAQwABABIARQBMAEkAUwBBAEIARQBUAEgABAAYAGMAYwAuAGkAYwBlAGQAZQB2AC4AbgB1AAMALABlAGwAaQBzAGEAYgBlAHQAaAAuAGMAYwAuAGkAYwBlAGQAZQB2AC4AbgB1AAAAAAAAAAAAbXlkb21haW5teXNlbGZjdXJsaG9zdA==
\r
118 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
119 Host: %HOSTIP:%HTTPPORT
\r