cURL / Mailing Lists / curl-library / Single Mail

curl-library

How to set service name for SPNEGO?

From: Wenlong Dong <wdong87_at_gmail.com>
Date: Mon, 16 Feb 2015 08:42:51 -0800

Hi,

Is there a way to set a custom service name for SPNEGO? I have a service
deployed with a custom service principal which does not have HTTP as the
service name, for example, foo.service/<hostname>@<realm>. Is it possible
to configure this name from libcurl? I checked http.c and found this code:

  if(neg_ctx->server_name == NULL &&

      (ret = get_gss_name(conn, proxy, &neg_ctx->server_name)))

    return ret;
Is this neg_ctx->server_name settable from a CURLOPT_* option?

Any help would be highly appreciated!

Best regards,
-Wenlong

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2015-02-16