From 86b889485d739fb1884d5beb3b1f359e36d0d072 Mon Sep 17 00:00:00 2001 From: Steve Holme Date: Wed, 3 Dec 2014 06:59:41 +0000 Subject: [PATCH] sasl_gssapi: Added GSS-API based Kerberos V5 variables --- lib/urldata.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lib/urldata.h b/lib/urldata.h index e433edd4c..075dca9b2 100644 --- a/lib/urldata.h +++ b/lib/urldata.h @@ -430,6 +430,7 @@ typedef enum { /* Struct used for GSSAPI (Kerberos V5) authentication */ #if defined(USE_KERBEROS5) struct kerberos5data { +#if defined(USE_WINDOWS_SSPI) CredHandle *credentials; CtxtHandle *context; TCHAR *spn; @@ -437,6 +438,10 @@ struct kerberos5data { SEC_WINNT_AUTH_IDENTITY *p_identity; size_t token_max; BYTE *output_token; +#else + gss_ctx_id_t context; + gss_name_t spn; +#endif }; #endif -- 2.40.0