aboutsummaryrefslogtreecommitdiff
path: root/src/configure.in
diff options
context:
space:
mode:
authorGreg Hudson <ghudson@mit.edu>2014-07-01 11:49:07 -0400
committerGreg Hudson <ghudson@mit.edu>2014-07-30 13:00:55 -0400
commit2fa226e13ee3e7a6fddbfb68b27ed6b2c14c8474 (patch)
treedf04e476f53389447a825c8070748ecbf3167abd /src/configure.in
parent8641f87bab24926688a91590040e5b8903e10897 (diff)
downloadkrb5-2fa226e13ee3e7a6fddbfb68b27ed6b2c14c8474.zip
krb5-2fa226e13ee3e7a6fddbfb68b27ed6b2c14c8474.tar.gz
krb5-2fa226e13ee3e7a6fddbfb68b27ed6b2c14c8474.tar.bz2
Add KCM credential cache type (client only)
Add a new credential cache type "KCM" which performs cache operations by speaking to a Heimdal or OS X KCM daemon, via either Unix domain sockets or (on OS X only) Mach RPC. Add "kcm_socket" and "kcm_mach_service" profile variables to control the socket path and bootstrap service name respectively. In ccmarshal.c, add k5_marshal_mcred to marshal matching credentials in the KCM protocol representation. This cache type is not currently supported on Windows, as Windows does not support Unix domain sockets. As with the keyring cache type, the lastchange method of this cache type is mostly useless, reporting only the time of the last change made through that cache handle. The KCM protocol currently has no support for obtaining the last change time of the cache itself. ticket: 7964 (new)
Diffstat (limited to 'src/configure.in')
-rw-r--r--src/configure.in7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/configure.in b/src/configure.in
index 659c4f8..a8a633e 100644
--- a/src/configure.in
+++ b/src/configure.in
@@ -1288,6 +1288,13 @@ if test "${localedir+set}" != set; then
fi
AC_SUBST(localedir)
+# For KCM lib/krb5/ccache to build KCM Mach RPC support for OS X only.
+case $host in
+*-*-darwin* | *-*-rhapsody*) OSX=osx ;;
+*) OSX=no ;;
+esac
+AC_SUBST(OSX)
+
# Build-time default ccache, keytab, and client keytab names. These
# can be given as variable arguments DEFCCNAME, DEFKTNAME, and
# DEFCKTNAME. Otherwise, we try to get the OS defaults from