curl-and-python
Re: using NTLM as *current user*
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Fri, 15 Oct 2010 23:12:58 +0200 (CEST)
Date: Fri, 15 Oct 2010 23:12:58 +0200 (CEST)
On Fri, 15 Oct 2010, Kevin Manley wrote:
> I can easily use pycurl to request resources using NTLM auth if I supply
> domain\username:password.
>
> But how can I get pycurl to simply use the credentials of the *current
> (calling) user*? I've tried setting
>
> self._curl.setopt(pycurl.USERPWD, "")
If you are running this on windows and libcurl was built with SSPI support,
then you can just set pycurl.USERPWD to ":" and it should work...
-- / daniel.haxx.se _______________________________________________ http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-pythonReceived on 2010-10-15