[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-wget] Wget and NTLM from IIS using https
From: |
Daniel Stenberg |
Subject: |
Re: [Bug-wget] Wget and NTLM from IIS using https |
Date: |
Thu, 4 Dec 2008 14:26:46 +0100 (CET) |
User-agent: |
Alpine 2.00 (LRH 1167 2008-08-23) |
On Thu, 4 Dec 2008, Sven Lankes wrote:
I have attached the debug output of wget and curl - it seems that the
NTLM auth-string is much shorter in the wget-version.
Not at all. The first NTLM request headers both tools send have identical
lenths:
curl sends "NTLM TlRMTVNTUAABAAAABoIIAAAAAAAAAAAAAAAAAAAAAAA="
wget sends "NTLM TlRMTVNTUAABAAAAAgIAAAAAAAAgAAAAAAAAACAAAAA="
You can in fact base64 decode them and then check the code to see what the
data means specificly. The wget and curl code bases in these areas should be
rather similar so it'll make things easier for you if you feel like comparing
actual code.
The other difference is that curl fetches using http 1.1 while wget uses
http 1.0 but I don't think that this matters.
I think either that, or the differences in the above NTLM chunks are keys to
this problem.
--
/ daniel.haxx.se