diff options
author | Steve Dickson <steved@redhat.com> | 2012-03-22 11:02:46 -0400 |
---|---|---|
committer | Steve Dickson <steved@redhat.com> | 2012-03-22 11:07:23 -0400 |
commit | 245fad6be5a32866b2cefad55b3e2d50f6b197af (patch) | |
tree | 2e154f30dbd040701de88abae66fe2a67b2b696d /utils/gssd/gssd.c | |
parent | 5397edac120350bd5fd8284819c1a900cb41546c (diff) | |
download | nfs-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.c')
-rw-r--r-- | utils/gssd/gssd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/gssd/gssd.c b/utils/gssd/gssd.c index ccadb07..d53795e 100644 --- a/utils/gssd/gssd.c +++ b/utils/gssd/gssd.c @@ -57,7 +57,7 @@ char pipefs_dir[PATH_MAX] = GSSD_PIPEFS_DIR; char keytabfile[PATH_MAX] = GSSD_DEFAULT_KEYTAB_FILE; -char ccachedir[PATH_MAX] = GSSD_DEFAULT_CRED_DIR; +char ccachedir[PATH_MAX] = GSSD_DEFAULT_CRED_DIR ":" GSSD_USER_CRED_DIR; char *ccachesearch[GSSD_MAX_CCACHE_SEARCH + 1]; int use_memcache = 0; int root_uses_machine_creds = 1; |