Blame nfs-utils-1.1.1-gssd-mcred.patch
|
|
9fa08e5 |
commit 46d439b17f22216ce8f9257a982c6ade5d1c5931
|
|
|
9fa08e5 |
Author: Vince Busam <vbusam@google.com>
|
|
|
9fa08e5 |
Date: Tue Feb 26 13:04:52 2008 -0500
|
|
|
9fa08e5 |
|
|
|
9fa08e5 |
Stop gssd from ignoring the machine credential cache
|
|
|
9fa08e5 |
defined by the -d flag
|
|
|
9fa08e5 |
|
|
|
9fa08e5 |
Signed-off-by: Steve Dickson <steved@redhat.com>
|
|
|
9fa08e5 |
Signed-off-by: Kevin Coffman <kwc@citi.umich.edu>
|
|
|
9fa08e5 |
|
|
|
9fa08e5 |
diff --git a/utils/gssd/krb5_util.c b/utils/gssd/krb5_util.c
|
|
|
9fa08e5 |
index bf8690e..3cf27ca 100644
|
|
|
9fa08e5 |
--- a/utils/gssd/krb5_util.c
|
|
|
9fa08e5 |
+++ b/utils/gssd/krb5_util.c
|
|
|
9fa08e5 |
@@ -404,7 +404,7 @@ gssd_get_single_krb5_cred(krb5_context context,
|
|
|
9fa08e5 |
cache_type = "FILE";
|
|
|
9fa08e5 |
snprintf(cc_name, sizeof(cc_name), "%s:%s/%s%s_%s",
|
|
|
9fa08e5 |
cache_type,
|
|
|
9fa08e5 |
- GSSD_DEFAULT_CRED_DIR, GSSD_DEFAULT_CRED_PREFIX,
|
|
|
9fa08e5 |
+ ccachedir, GSSD_DEFAULT_CRED_PREFIX,
|
|
|
9fa08e5 |
GSSD_DEFAULT_MACHINE_CRED_SUFFIX, ple->realm);
|
|
|
9fa08e5 |
ple->endtime = my_creds.times.endtime;
|
|
|
9fa08e5 |
if (ple->ccname != NULL)
|