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 bf8690e..3cf27ca 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)