cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: NTLM and SPPI

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Mon, 6 Nov 2006 22:45:17 +0100 (CET)

On Mon, 6 Nov 2006, Matteo Rocco wrote:

> I'm carrying out some tests by using libcurl and SPPI support.

SSPI

> On the manual I can read: "It also allows libcurl to use the current user
> and the current user's password without the app having to pass them on"
>
> By reading this message I thought that the libcurl could certify on proxy
> without executing the call:
>
> curl_easy_setopt(curl_handle, CURLOPT_PROXYUSERPWD, userpwd)
>
> Unfortunately it doesn't work! There is something wrong!

Yes, you need to set the option with a ":" string, i.e user name and password
both set to no string at all.

I believe it is mentioned somewhere in the docs, but perhaps not exactly for
the CURLOPT_PROXYUSERPWD option. I'll welcome a docs patch...

-- 
  Commercial curl and libcurl Technical Support: http://haxx.se/curl.html
Received on 2006-11-06