7325ccd1b0
- https://lore.kernel.org/linux-nfs/4a86eea3-973e-4535-8aa5-f3b8b5f7934d@redhat.com/ - https://kernel.org/pub/linux/utils/nfs-utils/2.8.1/2.8.1-Changelog - Add new binary nfsdctl - The default number of nfsd threads is now 16 instead of 8 - Removed patchs from previous releases - 0001-exportfs-remove-warning-if-neither-subtree_check-or-.patch - 0002-conffile-don-t-report-error-from-conf_init_file.patch - 0003-conffile-allow-usr-etc-to-provide-any-config-files-e.patch - 0004-fsidd-call-anonymous-sockets-by-their-name-only-don-.patch - 0001-gssd-revert-commit-a5f3b7ccb01c.patch - 0002-gssd-revert-commit-513630d720bd.patch - 0003-gssd-switch-to-using-rpc_gss_seccreate.patch - 0004-gssd-handle-KRB5_AP_ERR_BAD_INTEGRITY-for-machine-cr.patch - 0005-gssd-handle-KRB5_AP_ERR_BAD_INTEGRITY-for-user-crede.patch - 0006-configure-check-for-rpc_gss_seccreate.patch - Turn nfs-utils-1.0.7-bind-syntax.patch to git patch (bug reference, easier to refresh via git, likely it can be now removed) - Add BuildRequires libnl-3.0, readline OBS-URL: https://build.opensuse.org/package/show/Base:System/nfs-utils?expand=0&rev=287
52 lines
1.6 KiB
Diff
52 lines
1.6 KiB
Diff
From f05af7d9924b5e455f4e750c1e8985c560784fce Mon Sep 17 00:00:00 2001
|
|
From: Olga Kornievskaia <kolga@netapp.com>
|
|
Date: Mon, 11 Dec 2023 08:50:57 -0500
|
|
Subject: [PATCH 2/6] gssd: revert commit 513630d720bd
|
|
|
|
In preparation for using rpc_gss_seccreate(), revert commit 513630d720bd
|
|
"gssd: handle KRB5_AP_ERR_BAD_INTEGRITY for machine credentials"
|
|
|
|
Reviewed-by: Chuck Lever <chuck.lever@oracle.com>
|
|
Signed-off-by: Olga Kornievskaia <kolga@netapp.com>
|
|
Signed-off-by: Steve Dickson <steved@redhat.com>
|
|
---
|
|
utils/gssd/gssd_proc.c | 16 +---------------
|
|
1 file changed, 1 insertion(+), 15 deletions(-)
|
|
|
|
diff --git a/utils/gssd/gssd_proc.c b/utils/gssd/gssd_proc.c
|
|
index e5cc1d98..4fb6b72d 100644
|
|
--- a/utils/gssd/gssd_proc.c
|
|
+++ b/utils/gssd/gssd_proc.c
|
|
@@ -412,27 +412,13 @@ create_auth_rpc_client(struct clnt_info *clp,
|
|
tid, tgtname);
|
|
auth = authgss_create_default(rpc_clnt, tgtname, &sec);
|
|
if (!auth) {
|
|
- if (sec.minor_status == KRB5KRB_AP_ERR_BAD_INTEGRITY) {
|
|
- printerr(2, "WARNING: server=%s failed context "
|
|
- "creation with KRB5_AP_ERR_BAD_INTEGRITY\n",
|
|
- clp->servername);
|
|
- if (cred == GSS_C_NO_CREDENTIAL)
|
|
- retval = gssd_refresh_krb5_machine_credential(clp->servername,
|
|
- "*", NULL, 1);
|
|
- if (!retval) {
|
|
- auth = authgss_create_default(rpc_clnt, tgtname,
|
|
- &sec);
|
|
- if (auth)
|
|
- goto success;
|
|
- }
|
|
- }
|
|
/* Our caller should print appropriate message */
|
|
printerr(2, "WARNING: Failed to create krb5 context for "
|
|
"user with uid %d for server %s\n",
|
|
uid, tgtname);
|
|
goto out_fail;
|
|
}
|
|
-success:
|
|
+
|
|
/* Success !!! */
|
|
rpc_clnt->cl_auth = auth;
|
|
*clnt_return = rpc_clnt;
|
|
--
|
|
2.46.0
|
|
|