Skip Menu |

Subject: git commit
Download (untitled) / with headers
text/plain 1.6KiB

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

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.
Author: Greg Hudson <>
Commit: 2fa226e13ee3e7a6fddbfb68b27ed6b2c14c8474
Branch: master
src/ | 7 +
src/include/k5-int.h | 2 +
src/include/kcm.h | 95 +++
src/lib/krb5/ccache/ | 20 +-
src/lib/krb5/ccache/cc-int.h | 3 +
src/lib/krb5/ccache/cc_kcm.c | 1015 +++++++++++++++++++++++++++++++++
src/lib/krb5/ccache/ccbase.c | 5 +
src/lib/krb5/ccache/ccmarshal.c | 69 +++
src/lib/krb5/ccache/deps | 11 +
src/lib/krb5/ccache/kcmrpc.defs | 56 ++
src/lib/krb5/ccache/kcmrpc_types.h | 39 ++
src/lib/krb5/error_tables/ | 4 +
src/util/ | 6 +
13 files changed, 1330 insertions(+), 2 deletions(-)
Subject: git commit

Make KCM the default ccache on OS X

If we do not find a default ccache value from krb5-config and we
detect that the host platform is OS X 10.7 or higher, use KCM: as the
default ccache name instead of FILE:/tmp/krb5cc_%{uid}.
Author: Greg Hudson <>
Commit: f2aabecc10508c01b289e147a4c5f41969ab768f
Branch: master
src/ | 16 +++++++++++++++-
1 files changed, 15 insertions(+), 1 deletions(-)
Subject: git commit

Document KCM ccache type

Document the new KCM ccache type in ccache_def.rst. Document the
kcm_socket and kcm_mach_service variables in krb5_conf.rst.
Author: Greg Hudson <>
Commit: 4ac345865276e8848546ba75e09feecc23e8a040
Branch: master
doc/admin/conf_files/krb5_conf.rst | 13 +++++++++++++
doc/basic/ccache_def.rst | 21 ++++++++++++++++++---
2 files changed, 31 insertions(+), 3 deletions(-)