3ade29ac96
No important new functionality - Changes to ./configure command to remove warnings - 8 more patches from upstream 'git' to fix non-trivial bugs including on CVE. OBS-URL: https://build.opensuse.org/package/show/Base:System/nfs-utils?expand=0&rev=87
32 lines
1.0 KiB
Diff
32 lines
1.0 KiB
Diff
From da05b199a60e8a8fa91d4d3734cbbe84b23cff69 Mon Sep 17 00:00:00 2001
|
|
From: Doug Nazar <nazard.michi@gmail.com>
|
|
Date: Tue, 2 Jul 2013 08:45:31 -0400
|
|
Subject: [PATCH] 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>
|
|
---
|
|
utils/gssd/krb5_util.c | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
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]);
|
|
--
|
|
1.8.3.1.487.g3e7a5b4
|
|
|