public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/openssh] rawhide: Drop obsolete 0050-openssh-10.2p1-pam-auth.patch
@ 2026-11-26 15:54 Zoltan Fridrich
0 siblings, 0 replies; only message in thread
From: Zoltan Fridrich @ 2026-11-26 15:54 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/openssh
Branch : rawhide
Commit : 1e49431b6bd21efe043ee03ea1458af74c6a095b
Author : Zoltan Fridrich <zfridric@redhat.com>
Date : 2026-11-26T16:32:48+01:00
Stats : +1/-44 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/openssh/c/1e49431b6bd21efe043ee03ea1458af74c6a095b?branch=rawhide
Log:
Drop obsolete 0050-openssh-10.2p1-pam-auth.patch
Signed-off-by: Zoltan Fridrich <zfridric@redhat.com>
---
diff --git a/0050-openssh-10.2p1-pam-auth.patch b/0050-openssh-10.2p1-pam-auth.patch
deleted file mode 100644
index d1da474..0000000
--- a/0050-openssh-10.2p1-pam-auth.patch
+++ /dev/null
@@ -1,43 +0,0 @@
-From ef8649dddf40c8a0e358566c86b44e27ca1fcdc8 Mon Sep 17 00:00:00 2001
-From: Dmitry Belyavskiy <beldmit@gmail.com>
-Date: Sun, 12 Apr 2026 12:25:04 +0200
-Subject: [PATCH 50/56] openssh-10.2p1-pam-auth
-
-https://bugzilla.redhat.com/show_bug.cgi?id=2423900
-
-Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
----
- auth-pam.c | 10 +++++-----
- 1 file changed, 5 insertions(+), 5 deletions(-)
-
-diff --git a/auth-pam.c b/auth-pam.c
-index d3dcd037b..aaad16765 100644
---- a/auth-pam.c
-+++ b/auth-pam.c
-@@ -455,6 +455,7 @@ static int
- check_pam_user(Authctxt *authctxt)
- {
- const char *pam_user;
-+ const struct passwd *pam_pw;
-
- if (authctxt == NULL || authctxt->pw == NULL ||
- authctxt->pw->pw_name == NULL)
-@@ -469,11 +470,10 @@ check_pam_user(Authctxt *authctxt)
- return PAM_USER_UNKNOWN;
- }
-
-- if (sshpam_initial_user == NULL)
-- fatal_f("internal error: sshpam_initial_user NULL");
-- if (strcmp(sshpam_initial_user, pam_user) != 0) {
-- error_f("PAM user \"%s\" does not match previous \"%s\"",
-- pam_user, sshpam_initial_user);
-+ pam_pw = getpwnam(pam_user);
-+ if (pam_pw == NULL || pam_pw->pw_uid != authctxt->pw->pw_uid) {
-+ debug("PAM user \"%s\" does not match expected \"%s\"",
-+ pam_user, authctxt->pw->pw_name);
- return PAM_USER_UNKNOWN;
- }
- return PAM_SUCCESS;
---
-2.56.0
-
diff --git a/openssh.spec b/openssh.spec
index b5f2dac..ffdecb6 100644
--- a/openssh.spec
+++ b/openssh.spec
@@ -110,7 +110,6 @@ Patch0046: 0046-support-authentication-indicators-in-GSSAPI.patch
Patch0047: 0047-NIST-curves-hybrid-KEX-implementation.patch
Patch0048: 0048-openssh-7.3p1-x11-max-displays.patch
Patch0049: 0049-Fix-ssh-pkcs11-client-helper-termination.patch
-Patch0050: 0050-openssh-10.2p1-pam-auth.patch
Patch0051: 0051-gssapi-s4u.patch
Patch0052: 0052-openssh-10.2p1-pkcs11-uri.patch
Patch0053: 0053-gssapi-tests.patch
@@ -527,6 +526,7 @@ test -f %{sysconfig_anaconda} && \
%changelog
* Thu Nov 26 2026 Zoltan Fridrich <zfridric@redhat.com> - 10.6p2-2
- Remove duplicate release in ssh_gssapi_getclient()
+- Drop obsolete 0050-openssh-10.2p1-pam-auth.patch
* Fri Nov 13 2026 Dmitry Belyavskiy <dbelyavs@redhat.com> - 10.6p2-1
- Rebasing OpenSSH to 10.6p2
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-11-26 15:54 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-26 15:54 [rpms/openssh] rawhide: Drop obsolete 0050-openssh-10.2p1-pam-auth.patch Zoltan Fridrich
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox