summaryrefslogtreecommitdiffstats
path: root/support
diff options
context:
space:
mode:
authorneilbrown <neilbrown>2005-08-26 01:20:12 +0000
committerneilbrown <neilbrown>2005-08-26 01:20:12 +0000
commitc5ea2fbc9ab9d142aa867da594a66f4097df03d1 (patch)
treecd490f0e2dd0d087233f42b27ada3d9c9a44cda0 /support
parent74a9c55e518cbd4ece01a2c57104222d9b675fb0 (diff)
downloadnfs-utils-c5ea2fbc9ab9d142aa867da594a66f4097df03d1.tar.gz
nfs-utils-c5ea2fbc9ab9d142aa867da594a66f4097df03d1.tar.xz
nfs-utils-c5ea2fbc9ab9d142aa867da594a66f4097df03d1.zip
2005-08-26 Kevin Coffman <kwc@citi.umich.edu>
* 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.
Diffstat (limited to 'support')
-rw-r--r--support/include/gssapi/gssapi.h26
1 files changed, 3 insertions, 23 deletions
diff --git a/support/include/gssapi/gssapi.h b/support/include/gssapi/gssapi.h
index 18d62db..22cd329 100644
--- a/support/include/gssapi/gssapi.h
+++ b/support/include/gssapi/gssapi.h
@@ -1,25 +1,3 @@
-/* This is the gssapi.h prologue. */
-/* It contains some choice pieces of autoconf.h */
-#define SIZEOF_INT 4
-#define SIZEOF_LONG 4
-#define SIZEOF_SHORT 2
-#define HAVE_STDARG_H 1
-/* #undef HAVE_VARARGS_H */
-/* #undef HAVE_MACSOCK_H */
-#define HAVE_NETINET_IN_H 1
-#define HAVE_STDDEF_H 1
-#define HAVE_STDLIB_H 1
-#define HAVE_STRING_H 1
-#define HAVE_SYS_FILE_H 1
-#define HAVE_SYS_PARAM_H 1
-#define HAVE_SYS_SOCKET_H 1
-#define HAVE_SYS_STAT_H 1
-#define HAVE_SYS_TIME_H 1
-#define HAVE_SYS_TYPES_H 1
-#define HAVE_UNISTD_H 1
-/* #undef HAVE_XOM_H */
-#define USE_DIRENT_H 1
-/* End of gssapi.h prologue. */
/*
* Copyright 1993 by OpenVision Technologies, Inc.
*
@@ -45,6 +23,8 @@
#ifndef _GSSAPI_H_
#define _GSSAPI_H_
+#include "config.h"
+
/*
* Determine platform-dependent configuration.
*/
@@ -127,7 +107,7 @@ extern "C" {
#endif /* HAVE_XOM_H */
/*
- * $Id: gssapi.h,v 1.1 2004/10/19 00:22:57 neilbrown Exp $
+ * $Id: gssapi.h,v 1.2 2005/08/26 01:20:12 neilbrown Exp $
*/
/*