bug-wget
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-wget] NTLM auth broken in 1.13.4


From: Giuseppe Scrivano
Subject: Re: [Bug-wget] NTLM auth broken in 1.13.4
Date: Tue, 09 Jul 2013 23:24:05 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2 (gnu/linux)

Tom Merriam <address@hidden> writes:

> After upgrading from squeeze to wheezy, NTLM authentication no longer
> works. A command such as
>
> wget --user=user --password=password --server-response
> http://server/page.aspx -O file.pdf
>
> fails with this output:
>
> Connecting to 10.1.1.34:80... connected.
> HTTP request sent, awaiting response...
>   HTTP/1.1 401 Unauthorized
>   Content-Length: 0
>   WWW-Authenticate: Negotiate
>   WWW-Authenticate: NTLM
>   Date: Tue, 02 Jul 2013 22:23:31 GMT
>   Connection: close
> Unknown authentication scheme.
> Authorization failed.
>
> Is this a bug? Or did syntax change and I missed something?

from a quick view we haven't changed anything in http-ntlm.c for a long
time:

$ git log -1 http-ntlm.c 
commit 2f6aa1d7417df1dfc58597777686fbd77179b9fd
Author: Giuseppe Scrivano <address@hidden>
Date:   Sat Jan 1 13:19:37 2011 +0100

    mass change: update copyright years.

Could you please try with the latest released version building it from
sources?

If not, is your server publicly available so I can test it by myself?  I
can't access any Windows server at the moment to test it.

IIS sends two WWW-Authenticate but wget should deal well with them, I
have double checked this in the code.

-- 
Giuseppe



reply via email to

[Prev in Thread] Current Thread [Next in Thread]