cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: basic auth

From: Blurry <obsfucate_at_gmail.com>
Date: Tue, 16 Feb 2010 12:40:57 -0500

Thanks Daniel, the IIS server is configured to auth certain ip address
ranges. So frustrating !!! NTLM auth worked fine on some other box I can't
use.

On Fri, Feb 12, 2010 at 10:14 AM, Daniel Stenberg <daniel_at_haxx.se> wrote:

> On Thu, 11 Feb 2010, Blurry wrote:
>
> I have an IIS server I am trying to login to , if I use firefox a
>> userid/pass box comes up and I put DOMAIN\user in for user and the
>> password
>> below it and I get access. I have tried NTLM auth, anyauth, nothing allows
>> curl to access it.
>>
>
> So read the headers of the response and it'll tell you what method(s) it
> wants!
>
>
> If firefox can do it, curl must be able ?
>>
>
> Pretty much, yes. Unless you've stepped into a bug or something we don't
> (yet) support.
>
>
> Is there some cookie BS that has to handled ?
>>
>
> That's not easy to tell based on this little information.
>
>
> I couldn't find good examples of NTLM auth in my searches.
>>
>
> --ntlm is what you need basically. Or --anyauth even. Another approach is
> to use livehttpheaders and investigate exactly what your firefox gets/sends.
>
>
> --
>
> / daniel.haxx.se
> -------------------------------------------------------------------
> List admin: http://cool.haxx.se/list/listinfo/curl-users
> FAQ: http://curl.haxx.se/docs/faq.html
> Etiquette: http://curl.haxx.se/mail/etiquette.html
>

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-users
FAQ: http://curl.haxx.se/docs/faq.html
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2010-02-16