[pca] using curl rather than wget

Glenn Satchell Glenn.Satchell at uniq.com.au
Sun Feb 15 13:58:06 CET 2009


Hi Michael

That's very interesting, but I need NTLM for *proxy* authentication,
not the web server at Sunsolve :(

     --proxy-user=user
     --proxy-password=password
         Specify the username user and password password for
         authentication on a proxy server.  Wget will encode them
         using the "basic" authentication scheme.

Interestingly, wget 1.10.2, which is the supplied version on Solaris
10, doesn't mention NTLM. I looked at wget 1.11.4 sources and
unfortunately it doesn't have NTLM support for proxy passwords.

Obviously if wget can do the NTLM auth then that is a far easier way
than hacking curl into pca. So looks like a bit more investigation on
the wget front. Let you know how I go.

Thanks for the pointer, it's probably going to save me a lot of effort.

regards,
-glenn

>Date: Sun, 15 Feb 2009 12:14:26 +0100
>Subject: Re: [pca] using curl rather than wget
>From: Michael Schmarck <michael.schmarck at habmalnefrage.de>
>To: Glenn Satchell <Glenn.Satchell at uniq.com.au>, "PCA (Patch Check Advanced) 
Discussion" <pca at lists.univie.ac.at>
>
>Hi!
>
>On Sun, Feb 15, 2009 at 10:28, Glenn Satchell
><Glenn.Satchell at uniq.com.au> wrote:
>
>[...]
>> I was setting it up for a new site last week that uses a Windows proxy
>> that requires NTLM authentication to download patches etc. Getting them
>> to change the authentication method is, well, difficult.
>>
>> I notice that curl supports NTLM proxy authentication so I figure it
>> shouldn't be too hard to port that into pca instead of, or as well as,
>> wget. Just wondering if anyone has been down this path before?
>
>But wget also supports NTLM, so why go the way of using curl?
>
>From the man page of wget:
>
>       --http-user=user
>       --http-password=password
>           Specify the username user and password password on an HTTP server.
>           According to the type of the challenge, Wget will encode them using
>           either the "basic" (insecure), the "digest", or the Windows "NTLM"
>           authentication scheme.
>
>This was from wget 1.11.4 on a Linux system. According to Wikipedia,
>Wget 1.10 introduced NTLM support.
>
>[...]
>> Any thoughts or comments?
>
>Use wget :)
>
>Michael
>
>PS: I haven't tested how well the NTLM support in wget works.
>I'm just replying based on the information in the man page.




More information about the pca mailing list