cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: How to enter NTLM_AUTH?

From: Daniel Stenberg <daniel-curl_at_haxx.se>
Date: Thu, 27 Jan 2005 19:11:40 +0100 (CET)

On Wed, 26 Jan 2005, Mikolaj Rydzewski wrote:

> So the following should work?
>
> CURLOPT_PROXY, proxy_host
> CURLOPT_PROXYPORT, port
> CURLOPT_PROXYUSERPWD, "domain\login:password"
> CURLOPT_PROXYAUTH, CURLAUTH_NTLM
>
> Do we set host/port for ntlm authentication?

You need to tell where the proxy is, yes. NTLM is just the authentication
metod, it is still the same old HTTP proxy.

> What is the default port? I'm not a windows user ;-)

You mean for your proxy? Or for libcurl's proxy port setting? Either way, I
don't think you should use the default as it is not likely to be the port
number you want.

-- 
      Daniel Stenberg -- http://curl.haxx.se -- http://daniel.haxx.se
       Dedicated custom curl help for hire: http://haxx.se/curl.html
Received on 2005-01-27