public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Zoltan Fridrich <zfridric@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/openssh] rawhide: Drop obsolete 0050-openssh-10.2p1-pam-auth.patch
Date: Thu, 26 Nov 2026 15:54:28 GMT	[thread overview]
Message-ID: <179570846861.1.1848653169929685263.rpms-openssh-1e49431b6bd2@fedoraproject.org> (raw)

            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

                 reply	other threads:[~2026-11-26 15:54 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=179570846861.1.1848653169929685263.rpms-openssh-1e49431b6bd2@fedoraproject.org \
    --to=zfridric@redhat.com \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox