[patch] gssd ignoring -d for machine credential cache

Vince Busam vbusam at google.com
Thu Feb 14 16:29:20 EST 2008


Still one more place where GSSD_DEFAULT_CRED_DIR is hard-coded.

--- utils/gssd/krb5_util.c.orig 2008-02-14 13:08:21.000000000 -0800
+++ utils/gssd/krb5_util.c      2008-02-14 13:08:48.000000000 -0800
@@ -404,7 +404,7 @@
             cache_type = "FILE";
         snprintf(cc_name, sizeof(cc_name), "%s:%s/%s%s_%s",
                 cache_type,
-               GSSD_DEFAULT_CRED_DIR, GSSD_DEFAULT_CRED_PREFIX,
+               ccachedir, GSSD_DEFAULT_CRED_PREFIX,
                 GSSD_DEFAULT_MACHINE_CRED_SUFFIX, ple->realm);
         ple->endtime = my_creds.times.endtime;
         if (ple->ccname != NULL)


More information about the NFSv4 mailing list