Am Montag, 15. Juli 2013, 09:50:27 schrieb Tom Merriam: > On 07/13/2013 08:00 AM, Tim Rühsen wrote: > > Am Mittwoch, 10. Juli 2013 schrieb Hrvoje Niksic: > >> The NTLM code kindly donated by Daniel has always required OpenSSL. > >> configure.ac says: > >> > >> Updating the code to also support GNU/TLS appears straightforward. > > > > Here is a (quick) patch for testing using libnettle (which GnuTLS relies > > on > > anyway). > > I can't test it myself since lack of an NTLM capable server. > > > > Please could anyone test it and review it, especially the configure.ac > > stuff which is not one of my strengths. > > Do we need to mention libnettle somewhere in the docs ? > > > > Regards, Tim > > I applied this patch to 1.13.4 and built with configure & make but it > didn't work. I still get the same 'unknown authentication scheme' error. > > Does wget need to be built differently for this to work?
Thanks, Tom. src/config.h should contain the lines #define ENABLE_NTLM 1 and #define WITH_NETTLE 1 Maybe 1.13.4 ./configure needs explicitely --with-ssl=gnutls --with-ntlm. src/wget --version printout: GNU Wget 1.14.61-5862-dirty built on linux-gnu. +digest +https +ipv6 +iri +large-file +nls +ntlm +opie +ssl/gnutls ... should look similar to the above line. Important is +ntlm, +ssl/gnutls and I guess +digest. Regards, Tim
signature.asc
Description: This is a digitally signed message part.