cURL
Haxx ad
libcurl

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curl-library Mailing List Archives

RE: Proxy Server Authentication using NTLM

From: Bradford Bruce <bbruce_at_interpool.com>
Date: Wed, 7 Jun 2006 10:09:06 -0400

If you're on a domain, you need to include it in the authentication
string
 
Format with domain:
    [domain]/[id]:[password]
 
Format without domain
    [id]:[password]
 
Hope this helps.
 
Brad Bruce

-----------------------------------------------------
No trees were killed in the creation of this message.
However, many electrons were terribly inconvenienced
-----------------------------------------------------
  

 

________________________________

From: curl-library-bounces_at_cool.haxx.se
[mailto:curl-library-bounces_at_cool.haxx.se] On Behalf Of Himanshu Purohit
Sent: Wednesday, June 07, 2006 9:44 AM
To: curl-library_at_cool.haxx.se
Subject: Proxy Server Authentication using NTLM

Hi,
         I am using NTLM at proxy server.
following is the piece of code :
 
// CRet = curl_easy_setopt(m_pCURL, CURLOPT_PROXYUSERPWD,"usr:passwd");
 
CRet = curl_easy_setopt(m_pCURL, CURLOPT_PROXYAUTH, CURLAUTH_NTLM);
 
if (CRet != CURLE_OK)
      {
                          // error http State is 407
       }
 
so here http State is 407 . I m not able to understand why does this
fail????
 
can any body help me out on this??

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
Received on 2006-06-07

These mail archives are generated by hypermail.

donate! Page updated November 12, 2010.
web site info

File upload with ASP.NET