12
<!-- no <data> in this test since we have NTLM from the start
14
This is supposed to be returned when the server gets a first
15
Authorization: NTLM line passed-in from the client -->
18
HTTP/1.1 401 Now gimme that second request of crap
19
Server: Microsoft-IIS/5.0
20
Content-Type: text/html; charset=iso-8859-1
22
WWW-Authenticate: NTLM TlRMTVNTUAACAAAAAgACADAAAAAGgoEAc51AYVDgyNcAAAAAAAAAAG4AbgAyAAAAQ0MCAAQAQwBDAAEAEgBFAEwASQBTAEEAQgBFAFQASAAEABgAYwBjAC4AaQBjAGUAZABlAHYALgBuAHUAAwAsAGUAbABpAHMAYQBiAGUAdABoAC4AYwBjAC4AaQBjAGUAZABlAHYALgBuAHUAAAAAAA==
24
This is not the real page either!
27
# This is supposed to be returned when the server gets the second
28
# Authorization: NTLM line passed-in from the client
30
HTTP/1.1 200 Things are fine in server land swsclose
31
Server: Microsoft-IIS/5.0
32
Content-Type: text/html; charset=iso-8859-1
35
Finally, this is the real page!
39
HTTP/1.1 401 Now gimme that second request of crap
40
Server: Microsoft-IIS/5.0
41
Content-Type: text/html; charset=iso-8859-1
43
WWW-Authenticate: NTLM TlRMTVNTUAACAAAAAgACADAAAAAGgoEAc51AYVDgyNcAAAAAAAAAAG4AbgAyAAAAQ0MCAAQAQwBDAAEAEgBFAEwASQBTAEEAQgBFAFQASAAEABgAYwBjAC4AaQBjAGUAZABlAHYALgBuAHUAAwAsAGUAbABpAHMAYQBiAGUAdABoAC4AYwBjAC4AaQBjAGUAZABlAHYALgBuAHUAAAAAAA==
45
HTTP/1.1 200 Things are fine in server land swsclose
46
Server: Microsoft-IIS/5.0
47
Content-Type: text/html; charset=iso-8859-1
50
Finally, this is the real page!
65
HTTP with NTLM delegation to winbind helper
68
# we force our own host name, in order to make the test machine independent
69
CURL_GETHOSTNAME=curlhost
70
# we try to use the LD_PRELOAD hack, if not a debug build
71
LD_PRELOAD=%PWD/libtest/.libs/libhostname.so
72
# set path to fake_auth instead of real ntlm_auth to generate NTLM type1 and type 3 messages
73
CURL_NTLM_WB_FILE=%PWD/server/fake_ntlm
74
# set source directory so fake_ntlm can find the test files
75
CURL_NTLM_AUTH_SRCDIR=%SRCDIR
77
CURL_NTLM_AUTH_TESTNUM=1310
80
http://%HOSTIP:%HTTPPORT/1310 -u testuser:anypasswd --ntlm-wb
87
# Verify data after the test has been "shot"
94
Authorization: NTLM TlRMTVNTUAABAAAABoIIAAAAAAAAAAAAAAAAAAAAAAAAAAAAMAAAAAAAAAAwAAAA
95
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
96
Host: %HOSTIP:%HTTPPORT
100
Authorization: NTLM TlRMTVNTUAADAAAAGAAYAE8AAAAYABgAZwAAAAAAAABAAAAACAAIAEAAAAAHAAcASAAAAAAAAAAAAAAAggEAAHRlc3R1c2VyVU5LTk9XTlpkQwKRCZFMhjj0tw47wEjKHRHlvzfxQamFcheMuv8v+xeqphEO5V41xRd7R9deOQ==
101
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
102
Host: %HOSTIP:%HTTPPORT
107
# Input and output (type 1 message) for fake_ntlm
113
YR TlRMTVNTUAABAAAABoIIAAAAAAAAAAAAAAAAAAAAAAAAAAAAMAAAAAAAAAAwAAAA
116
# Input and output (type 3 message) for fake_ntlm
119
TT TlRMTVNTUAACAAAAAgACADAAAAAGgoEAc51AYVDgyNcAAAAAAAAAAG4AbgAyAAAAQ0MCAAQAQwBDAAEAEgBFAEwASQBTAEEAQgBFAFQASAAEABgAYwBjAC4AaQBjAGUAZABlAHYALgBuAHUAAwAsAGUAbABpAHMAYQBiAGUAdABoAC4AYwBjAC4AaQBjAGUAZABlAHYALgBuAHUAAAAAAA==
122
KK TlRMTVNTUAADAAAAGAAYAE8AAAAYABgAZwAAAAAAAABAAAAACAAIAEAAAAAHAAcASAAAAAAAAAAAAAAAggEAAHRlc3R1c2VyVU5LTk9XTlpkQwKRCZFMhjj0tw47wEjKHRHlvzfxQamFcheMuv8v+xeqphEO5V41xRd7R9deOQ==