From 8736c11d849ab2899023bacb9a3863065a818e4f Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Fri, 4 Jul 2003 16:36:31 +0000 Subject: adjusted to the NTLM updates --- tests/data/test67 | 25 ++++--------------------- tests/data/test68 | 23 ++--------------------- tests/data/test69 | 4 ++-- 3 files changed, 8 insertions(+), 44 deletions(-) (limited to 'tests/data') diff --git a/tests/data/test67 b/tests/data/test67 index fdb44d333..a21de28e8 100644 --- a/tests/data/test67 +++ b/tests/data/test67 @@ -1,13 +1,7 @@ # Server-side - -HTTP/1.1 401 Authorization Required -Server: Apache/1.3.27 (Darwin) PHP/4.1.2 -WWW-Authenticate: NTLM -Content-Type: text/html; charset=iso-8859-1 - -This is not the real page - + +# no in this test since we have NTLM from the start # This is supposed to be returned when the server gets a first # Authorization: NTLM line passed-in from the client @@ -31,11 +25,6 @@ Finally, this is the real page! -HTTP/1.1 401 Authorization Required -Server: Apache/1.3.27 (Darwin) PHP/4.1.2 -WWW-Authenticate: NTLM -Content-Type: text/html; charset=iso-8859-1 - HTTP/1.1 401 Now gimme that second request of crap Server: Microsoft-IIS/5.0 Content-Type: text/html; charset=iso-8859-1 @@ -74,20 +63,14 @@ http://%HOSTIP:%HOSTPORT/67 -u testuser:testpass --ntlm GET /67 HTTP/1.1 +Authorization: NTLM TlRMTVNTUAABAAAAAgIAAAAAAAAgAAAAAAAAACAAAAA= 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 Host: 127.0.0.1:8999 Pragma: no-cache Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */* GET /67 HTTP/1.1 -Authorization: NTLM TlRMTVNTUAABAAAAA7IAAAQABAAkAAAABAAEACAAAABIQVhYQ1VSTA== -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 -Host: 127.0.0.1:8999 -Pragma: no-cache -Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */* - -GET /67 HTTP/1.1 -Authorization: NTLM TlRMTVNTUAADAAAAGAAYAGAAAAAYABgAeAAAAAgACABAAAAAEAAQAEgAAAAIAAgAWAAAAAAAAACQAAAAAYIAAEMAVQBSAEwAdABlAHMAdAB1AHMAZQByAEgAQQBYAFgAWmRDApEJkUyGOPS3DjvASModEeW/N/FBqYVyF4y6/y/7F6qmEQ7lXjXFF3tH1145 +Authorization: NTLM TlRMTVNTUAADAAAAGAAYAFAAAAAAAAAAaAAAAAAAAABAAAAAEAAQAEAAAAAAAAAAUAAAAAAAAABoAAAAAYIAAHRlc3R1c2VyAAAAAAAAAABaZEMCkQmRTIY49LcOO8BIyh0R5b838UE= 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 Host: 127.0.0.1:8999 Pragma: no-cache diff --git a/tests/data/test68 b/tests/data/test68 index 8ec4eb4e6..569909889 100644 --- a/tests/data/test68 +++ b/tests/data/test68 @@ -1,13 +1,5 @@ # Server-side - -HTTP/1.1 401 Authorization Required -Server: Apache/1.3.27 (Darwin) PHP/4.1.2 -WWW-Authenticate: NTLM -Content-Type: text/html; charset=iso-8859-1 - -This is not the real page - # This is supposed to be returned when the server gets a first # Authorization: NTLM line passed-in from the client @@ -32,11 +24,6 @@ Wrong password dude. Get it fixed and return. -HTTP/1.1 401 Authorization Required -Server: Apache/1.3.27 (Darwin) PHP/4.1.2 -WWW-Authenticate: NTLM -Content-Type: text/html; charset=iso-8859-1 - HTTP/1.1 401 Now gimme that second request of crap Server: Microsoft-IIS/5.0 Content-Type: text/html; charset=iso-8859-1 @@ -76,20 +63,14 @@ http://%HOSTIP:%HOSTPORT/68 -u testuser:testpass --ntlm GET /68 HTTP/1.1 +Authorization: NTLM TlRMTVNTUAABAAAAAgIAAAAAAAAgAAAAAAAAACAAAAA= 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 Host: 127.0.0.1:8999 Pragma: no-cache Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */* GET /68 HTTP/1.1 -Authorization: NTLM TlRMTVNTUAABAAAAA7IAAAQABAAkAAAABAAEACAAAABIQVhYQ1VSTA== -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 -Host: 127.0.0.1:8999 -Pragma: no-cache -Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */* - -GET /68 HTTP/1.1 -Authorization: NTLM TlRMTVNTUAADAAAAGAAYAGAAAAAYABgAeAAAAAgACABAAAAAEAAQAEgAAAAIAAgAWAAAAAAAAACQAAAAAYIAAEMAVQBSAEwAdABlAHMAdAB1AHMAZQByAEgAQQBYAFgAWmRDApEJkUyGOPS3DjvASModEeW/N/FBqYVyF4y6/y/7F6qmEQ7lXjXFF3tH1145 +Authorization: NTLM TlRMTVNTUAADAAAAGAAYAFAAAAAAAAAAaAAAAAAAAABAAAAAEAAQAEAAAAAAAAAAUAAAAAAAAABoAAAAAYIAAHRlc3R1c2VyAAAAAAAAAABaZEMCkQmRTIY49LcOO8BIyh0R5b838UE= 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 Host: 127.0.0.1:8999 Pragma: no-cache diff --git a/tests/data/test69 b/tests/data/test69 index c0f85ef20..3daf68910 100644 --- a/tests/data/test69 +++ b/tests/data/test69 @@ -84,14 +84,14 @@ Pragma: no-cache Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */* GET /69 HTTP/1.1 -Authorization: NTLM TlRMTVNTUAABAAAAA7IAAAQABAAkAAAABAAEACAAAABIQVhYQ1VSTA== +Authorization: NTLM TlRMTVNTUAABAAAAAgIAAAAAAAAgAAAAAAAAACAAAAA= 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 Host: 127.0.0.1:8999 Pragma: no-cache Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */* GET /69 HTTP/1.1 -Authorization: NTLM TlRMTVNTUAADAAAAGAAYAGAAAAAYABgAeAAAAAgACABAAAAAEAAQAEgAAAAIAAgAWAAAAAAAAACQAAAAAYIAAEMAVQBSAEwAdABlAHMAdAB1AHMAZQByAEgAQQBYAFgAWmRDApEJkUyGOPS3DjvASModEeW/N/FBqYVyF4y6/y/7F6qmEQ7lXjXFF3tH1145 +Authorization: NTLM TlRMTVNTUAADAAAAGAAYAFAAAAAAAAAAaAAAAAAAAABAAAAAEAAQAEAAAAAAAAAAUAAAAAAAAABoAAAAAYIAAHRlc3R1c2VyAAAAAAAAAABaZEMCkQmRTIY49LcOO8BIyh0R5b838UE= 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 Host: 127.0.0.1:8999 Pragma: no-cache -- cgit v1.2.3