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

2013-07-16 Thread Tim Rühsen
Am Montag, 15. Juli 2013, 16:48:36 schrieb Tom Merriam: When built with configure make (with that patch): GNU Wget 1.14 built on linux-gnu. +digest +https +ipv6 -iri +large-file +nls -ntlm +opie +ssl/gnutls Wgetrc: /usr/local/etc/wgetrc (system) Locale:

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

2013-07-16 Thread Tom Merriam
On 07/16/2013 04:11 AM, Tim Rühsen wrote: Am Montag, 15. Juli 2013, 16:48:36 schrieb Tom Merriam: When built with configure make (with that patch): GNU Wget 1.14 built on linux-gnu. +digest +https +ipv6 -iri +large-file +nls -ntlm +opie +ssl/gnutls Wgetrc: /usr/local/etc/wgetrc

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

2013-07-16 Thread Tim Rühsen
Am Dienstag, 16. Juli 2013, 08:34:28 schrieb Tom Merriam: I tried that, but had the same problem. I gave up, re-extracted the source from archive, and reapplied patch. I compiled it with configure make and it works! I am able to authenticate with my Windows Server. GNU Wget 1.14 built on

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

2013-07-16 Thread Tom Merriam
On 07/16/2013 08:51 AM, Tim Rühsen wrote: Am Dienstag, 16. Juli 2013, 08:34:28 schrieb Tom Merriam: I tried that, but had the same problem. I gave up, re-extracted the source from archive, and reapplied patch. I compiled it with configure make and it works! I am able to authenticate with my

Re: [Bug-wget] [Bug-Wget] Wrong Error Codes returned on Digest Auth Failures.

2013-07-16 Thread Darshit Shah
Attaching a patch that fixes the above stated issue. There are two regions that I would like to draw attention to: 1. http.c:3752 : The code is quite redundant and I would prefer that it was somehow merged. Ideas on fixing this would be greatly appreciated! 2. http.c:2424 : There is a simple

[Bug-wget] [PATCH] NTLM auth with GnuTLS/Nettle

2013-07-16 Thread Tim Rühsen
Sorry, again git bugged me. Somehow the last pull merged together with my local changes and everything is in one commit now. So, the attached patch is not in git-format-patch format and a ChangeLog entry is missing: 2013-07-16 Tim Ruehsen tim.rueh...@gmx.de * NTLM support using

Re: [Bug-wget] [Bug-Wget] Wrong Error Codes returned on Digest Auth Failures.

2013-07-16 Thread Tim Rühsen
Am Dienstag, 16. Juli 2013, 20:52:01 schrieb Darshit Shah: There are two regions that I would like to draw attention to: 1. http.c:3752 : The code is quite redundant and I would prefer that it was somehow merged. Ideas on fixing this would be greatly appreciated! I guess you are talking

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

2013-07-16 Thread Tony Lewis
NTLM has evolved over the years. The last time I looked at the code, wget only supported NTLM message types 1 and 2. It very well may be that the server you are connecting to requires type 3 messages. In 2009, I did a major refactoring of http_ntlm.c (against the wget 1.11.4 sources) to support