Tom Merriam <[email protected]> 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 <[email protected]> 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
