curl-library
curl 7.40.0 broken building against Heimdal
From: Quanah Gibson-Mount <quanah_at_zimbra.com>
Date: Thu, 15 Jan 2015 12:20:38 -0800
Date: Thu, 15 Jan 2015 12:20:38 -0800
Unfortunately, it appears that curl is still not tested against Heimdal
Kerberos.
7.40.0 fails to build unless the following patch is applied:
# diff -u curl_sasl_gssapi.c.orig curl_sasl_gssapi.c
--- curl_sasl_gssapi.c.orig 2015-01-15 14:08:07.658484795 -0600
+++ curl_sasl_gssapi.c 2015-01-15 14:19:02.103915543 -0600
@@ -31,6 +31,10 @@
#define NCOMPAT 1
#endif
+#ifdef HAVE_GSSHEIMDAL
+#define gss_nt_service_name GSS_C_NT_HOSTBASED_SERVICE
+#endif
+
#define GSSAUTH_P_NONE 1
#define GSSAUTH_P_INTEGRITY 2
#define GSSAUTH_P_PRIVACY 4
Long term, I'd advise testing compiles against both Heimdal and MIT
Kerberos.
--Quanah
-- Quanah Gibson-Mount Platform Architect Zimbra, Inc. -------------------- Zimbra :: the leader in open source messaging and collaboration ------------------------------------------------------------------- List admin: http://cool.haxx.se/list/listinfo/curl-library Etiquette: http://curl.haxx.se/mail/etiquette.htmlReceived on 2015-01-15