cURL / Mailing Lists / curl-library / Single Mail


Re: problem using NTLM authentication with default OS credentials

From: Michael-O <>
Date: Fri, 30 May 2014 10:21:23 +0200

Am 2014-05-30 10:13, schrieb
> Hello
> I am using libcurl built from 7.37 with gssapi support and I am facing the following problem:
> When running my application on a centos machine joined into an Active Directory Domain and accessing url's over a squid 3.10 proxy that uses NTLM Authentication I get an error when trying to use linux system credentials. Code snippet is the following:
> curl_easy_setopt(curl_handle,CURL_PROXYUSERPWD,":");
> curl_easy_perform(curl_handle) ;

> Same code snippet works on Windows machine if libcurl is compiled with USE_WINDOWS_SSPI.
> Is there a known problem in curl for running this way in linux ?

Providing ':' will only work with SSPI, on Linux/Unix, there is not NTLM
password cache. ':' works only with a Kerberos credential cache.

Provide a downgrade name and a password or move to Kerberos.


List admin:
Received on 2014-05-30