12 HTTP/1.1 401 Authorization Required swsclose
13 Server: Apache/1.3.27 (Darwin) PHP/4.1.2
14 WWW-Authenticate: Magic-Negotiate
15 WWW-Authenticate: NTLM
16 WWW-Authenticate: Basic realm="daniel"
17 Content-Type: text/html; charset=iso-8859-1
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
27 Server: Microsoft-IIS/5.0
29 Content-Type: text/html; charset=iso-8859-1
30 WWW-Authenticate: NTLM TlRMTVNTUAACAAAAAgACADAAAAAGgoEAc51AYVDgyNcAAAAAAAAAAG4AbgAyAAAAQ0MCAAQAQwBDAAEAEgBFAEwASQBTAEEAQgBFAFQASAAEABgAYwBjAC4AaQBjAGUAZABlAHYALgBuAHUAAwAsAGUAbABpAHMAYQBiAGUAdABoAC4AYwBjAC4AaQBjAGUAZABlAHYALgBuAHUAAAAAAA==
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
39 Server: Microsoft-IIS/5.0
40 Content-Type: text/html; charset=iso-8859-1
43 Finally, this is the real page!
47 HTTP/1.1 401 Authorization Required swsclose
48 Server: Apache/1.3.27 (Darwin) PHP/4.1.2
49 WWW-Authenticate: Magic-Negotiate
50 WWW-Authenticate: NTLM
51 WWW-Authenticate: Basic realm="daniel"
52 Content-Type: text/html; charset=iso-8859-1
56 HTTP/1.1 401 Now gimme that second request of crap
57 Server: Microsoft-IIS/5.0
59 Content-Type: text/html; charset=iso-8859-1
60 WWW-Authenticate: NTLM TlRMTVNTUAACAAAAAgACADAAAAAGgoEAc51AYVDgyNcAAAAAAAAAAG4AbgAyAAAAQ0MCAAQAQwBDAAEAEgBFAEwASQBTAEEAQgBFAFQASAAEABgAYwBjAC4AaQBjAGUAZABlAHYALgBuAHUAAwAsAGUAbABpAHMAYQBiAGUAdABoAC4AYwBjAC4AaQBjAGUAZABlAHYALgBuAHUAAAAAAA==
62 HTTP/1.1 200 Things are fine in server land swsclose
63 Server: Microsoft-IIS/5.0
64 Content-Type: text/html; charset=iso-8859-1
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 Host: %HOSTIP:%HTTPPORT
107 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
111 Host: %HOSTIP:%HTTPPORT
112 Authorization: NTLM TlRMTVNTUAABAAAABoIIAAAAAAAAAAAAAAAAAAAAAAA=
113 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
117 Host: %HOSTIP:%HTTPPORT
118 Authorization: NTLM TlRMTVNTUAADAAAAGAAYAEAAAACeAJ4AWAAAAAgACAD2AAAABgAGAP4AAAAIAAgABAEAAAAAAAAAAAAABoKBALJ3z6fQtyQwuFxoPXldKtQ0MzIxNTMyMWnrkzKLCbw9LP1SuH/yJwABAQAAAAAAAACAPtXesZ0BNDMyMTUzMjEAAAAAAgAEAEMAQwABABIARQBMAEkAUwBBAEIARQBUAEgABAAYAGMAYwAuAGkAYwBlAGQAZQB2AC4AbgB1AAMALABlAGwAaQBzAGEAYgBlAHQAaAAuAGMAYwAuAGkAYwBlAGQAZQB2AC4AbgB1AAAAAAAAAAAAbXlkb21haW5teXNlbGZjdXJsaG9zdA==
119 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