From c5ea2fbc9ab9d142aa867da594a66f4097df03d1 Mon Sep 17 00:00:00 2001 From: neilbrown Date: Fri, 26 Aug 2005 01:20:12 +0000 Subject: 2005-08-26 Kevin Coffman * configure.in etc Consolidate some of the Kerberos checking instead of repeating the same things for MIT and Heimdal. Also adds more checks to distinguish 32-bit from 64-bit (mainly for gssapi.h) Fix svcgssd Makefile so make TOP=../../ works correctly there. Enable running a modern autoheader. * utils/gssd/gss_oids.c: Use correct OID value for SPKM-3 * utils/gssd/gss_util.c: Fix build with older MIT releases that do not define GSS_C_NT_HOSTBASED_SERVICE * utils/gssd/write_bytes.h, support/include/gssapi/gssapi.h: Length of gss_buffer_desc is a size_t which is 64-bits on a 64-bit machine. Kernel code expects 32-bit integer for length. Coerce length value into a 32-bit value when reading from or writing to the kernel. Change gssapi.h to use datatype size values obtained from configure rather than hard-coded values. * utils/idmapd/idmapd.c: The EV_INIT check here was wrong, and was causing idmapd to become unresponsive to server requests after receiving a sighup. * utils/idmapd/idmapd.c: Idmapd should flush the server id<->name caches when its started. --- utils/gssd/gss_util.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'utils/gssd/gss_util.c') diff --git a/utils/gssd/gss_util.c b/utils/gssd/gss_util.c index 3493280..cf240ac 100644 --- a/utils/gssd/gss_util.c +++ b/utils/gssd/gss_util.c @@ -73,6 +73,10 @@ #include #include #include +#if defined(HAVE_KRB5) && !defined(GSS_C_NT_HOSTBASED_SERVICE) +#include +#define GSS_C_NT_HOSTBASED_SERVICE gss_nt_service_name +#endif #include "gss_util.h" #include "err_util.h" #include "gssd.h" -- cgit