]> git.decadent.org.uk Git - nfs-utils.git/commitdiff
Stop gssd from ignoring the machine credential cache
authorVince Busam <vbusam@google.com>
Tue, 26 Feb 2008 18:04:52 +0000 (13:04 -0500)
committerSteve Dickson <steved@redhat.com>
Tue, 26 Feb 2008 18:04:52 +0000 (13:04 -0500)
defined by the -d flag

Signed-off-by: Steve Dickson <steved@redhat.com>
Signed-off-by: Kevin Coffman <kwc@citi.umich.edu>
utils/gssd/krb5_util.c

index bf8690e3fbd325ca12ac6e7c608d82f91f197a62..3cf27ca88439bdc0fcde326ae75b3de95eb43f9c 100644 (file)
@@ -404,7 +404,7 @@ gssd_get_single_krb5_cred(krb5_context context,
            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)