summaryrefslogtreecommitdiffstats
path: root/utils/gssd/gssd.h
diff options
context:
space:
mode:
authorSteve Dickson <steved@redhat.com>2012-03-22 11:02:46 -0400
committerSteve Dickson <steved@redhat.com>2012-03-22 11:07:23 -0400
commit245fad6be5a32866b2cefad55b3e2d50f6b197af (patch)
tree2e154f30dbd040701de88abae66fe2a67b2b696d /utils/gssd/gssd.h
parent5397edac120350bd5fd8284819c1a900cb41546c (diff)
downloadnfs-utils-245fad6be5a32866b2cefad55b3e2d50f6b197af.tar.gz
nfs-utils-245fad6be5a32866b2cefad55b3e2d50f6b197af.tar.xz
nfs-utils-245fad6be5a32866b2cefad55b3e2d50f6b197af.zip
gssd: Look for user creds in user defined directory
The user credential cache currently is kept in /tmp. In upcoming Kerberos release that will be moved to /run/user/<username>/. This patch enables gssd to look in both the old and new caches Signed-off-by: Steve Dickson <steved@redhat.com>
Diffstat (limited to 'utils/gssd/gssd.h')
-rw-r--r--utils/gssd/gssd.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/utils/gssd/gssd.h b/utils/gssd/gssd.h
index 40f824c..28a8206 100644
--- a/utils/gssd/gssd.h
+++ b/utils/gssd/gssd.h
@@ -45,6 +45,7 @@
#define DNOTIFY_SIGNAL (SIGRTMIN + 3)
#define GSSD_DEFAULT_CRED_DIR "/tmp"
+#define GSSD_USER_CRED_DIR "/run/user"
#define GSSD_DEFAULT_CRED_PREFIX "krb5cc_"
#define GSSD_DEFAULT_MACHINE_CRED_SUFFIX "machine"
#define GSSD_DEFAULT_KEYTAB_FILE "/etc/krb5.keytab"