cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Handling SPNEGO: WAS: Re: Building with Kerberos on Windows

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Sat, 21 Jan 2006 14:46:23 +0100 (CET)

On Sat, 21 Jan 2006, oppermana_at_netscape.net wrote:

> I have curl working with SPNEGO on AIX, Linux and Windows (cygwin). However
> I'm trying to code my own client to do SPNEGO, but this is not working yet.

So what command line are you using with curl that works?

> I've set the
> authentication mechanism CURLAUTH_GSSNEGOTIATE (also tried CURLAUTH_ANY),
> and am getting the SPNEGO challenge, but libcurl is not responding to this.

You also need to set a user name to trigger the authentication within libcurl.
For GSS/SPNEGO that user name isn't actually used, but it doesn't consider any
auth unless the user name is set!

-- 
  Commercial curl and libcurl Technical Support: http://haxx.se/curl.html
Received on 2006-01-21