summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDoug Nazar <nazard.michi@gmail.com>2013-07-02 08:45:31 -0400
committerSteve Dickson <steved@redhat.com>2013-07-02 08:45:31 -0400
commitda05b199a60e8a8fa91d4d3734cbbe84b23cff69 (patch)
treeddc015bc1b3291a69d2adcf3decf9a389f5176e0
parent05e6d39a988e76d5803f79018a9e40d435f6d2f7 (diff)
downloadnfs-utils-da05b199a60e8a8fa91d4d3734cbbe84b23cff69.tar.gz
nfs-utils-da05b199a60e8a8fa91d4d3734cbbe84b23cff69.tar.xz
nfs-utils-da05b199a60e8a8fa91d4d3734cbbe84b23cff69.zip
gssd: fixed typo in machine cred name.
Commit 1c787f14 [gssd: scan for DIR: ccaches, too] changed the default prefix for the credential cache files. Update the check to ignore the machine credential file when running with -n (root ignores machine credentials). Signed-off-by: Steve Dickson <steved@redhat.com>
-rw-r--r--utils/gssd/krb5_util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/gssd/krb5_util.c b/utils/gssd/krb5_util.c
index a6c7eb0..83b9651 100644
--- a/utils/gssd/krb5_util.c
+++ b/utils/gssd/krb5_util.c
@@ -231,7 +231,7 @@ gssd_find_existing_krb5_ccache(uid_t uid, char *dirname,
continue;
}
if (uid == 0 && !root_uses_machine_creds &&
- strstr(namelist[i]->d_name, "_machine_")) {
+ strstr(namelist[i]->d_name, "machine_")) {
printerr(3, "CC '%s' not available to root\n",
statname);
free(namelist[i]);