Fix gssd ignore machine credentials for root
Subsystems (2)
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).
Doug
nfs-utils-1.2.7.new/utils/gssd/krb5_util.c renamed from gssd/krb5_util.c +1 -1
@@ -231,7 +231,7 @@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]);
Hi
Quoted 1 line · Doug Nazar
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).
Thank you very much for point this bug out but could you please resubmit the patch using the proper Signed-off-by format define section 12 of https://www.kernel.org/doc/Documentation/SubmittingPatches
Sections 1, 7, 11, 15 are also some what important.... Thanks!
steved.
Quoted 1 line · Doug Nazar
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).
Committed...
In the future please send patches in line and with the work "[PATCH]" in the subject.
steved.