From 245fad6be5a32866b2cefad55b3e2d50f6b197af Mon Sep 17 00:00:00 2001 From: Steve Dickson Date: Thu, 22 Mar 2012 11:02:46 -0400 Subject: 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//. This patch enables gssd to look in both the old and new caches Signed-off-by: Steve Dickson --- utils/gssd/gssd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'utils/gssd/gssd.c') 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; -- cgit