curl-users
Re: Using Curl against SharePoint 2010, authentication fails, NTLM vs. GSS?
Date: Thu, 07 Apr 2011 08:43:31 -0400
Dan Fandrich <dan_at_coneharvesters.com> writes:
> On Wed, Apr 06, 2011 at 04:20:45PM -0400, Derek Atkins wrote:
>> Here is the run and output of the ascii trace:
>>
[snip]
>> 0000: WWW-Authenticate: NTLM ...
>> ... <cut>
>> 0140: A==
>> == Info: gss_init_sec_context() failed: : Cannot determine realm for numeric hos
>> t address<= Recv header, 29 bytes (0x1d)
>> 0000: WWW-Authenticate: Negotiate
[snip]
>
> I took a quick look at the code, and it looks like cases where an
> authentication method has an error during initialization, such as this one,
> are treated as though the authentication has been attempted and has failed.
> Curl_http_input_auth() should really be changed to skip an authentication
> method when there's an error initializing it.
Thanks, Dan.
I'm happy to test a patch to see if it works. How do I file an official
bug report? (Do I have to?)
-derek
-- Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory Member, MIT Student Information Processing Board (SIPB) URL: http://web.mit.edu/warlord/ PP-ASEL-IA N1NWH warlord_at_MIT.EDU PGP key available ------------------------------------------------------------------- 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.htmlReceived on 2011-04-07