[openssh-commits] [openssh] branch V_10_4 updated: allow PAMServiceName in Match (regressed in 10.4)
git+noreply at mindrot.org
git+noreply at mindrot.org
Tue Sep 1 15:55:13 AEST 2026
This is an automated email from the git hooks/post-receive script.
djm pushed a commit to branch V_10_4
in repository openssh.
The following commit(s) were added to refs/heads/V_10_4 by this push:
new 5b24c0980 allow PAMServiceName in Match (regressed in 10.4)
5b24c0980 is described below
commit 5b24c09806f1310d980c9bb6f0dbed6f13017181
Author: Damien Miller <djm at mindrot.org>
AuthorDate: Tue Sep 1 15:52:38 2026 +1000
allow PAMServiceName in Match (regressed in 10.4)
During the refactor of server option parsing, the ability to set
PAMServiceName in Match blocks was accidentally disabled.
Reported by Kanishka De Silva; ok markus
---
servconf.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/servconf.h b/servconf.h
index 3648e2be1..de5fe6dad 100644
--- a/servconf.h
+++ b/servconf.h
@@ -273,7 +273,7 @@ SSHCONF_ALIAS(KeepAlive, TCPKeepAlive, SSHCFG_GLOBAL)
#ifdef USE_PAM
#define SSHD_CONFIG_ENTRIES_PAM \
SSHCONF_INTFLAG(use_pam, UsePAM, SSHCFG_GLOBAL, 0, SSHCFG_COPY_NONE) \
-SSHCONF_STRING(pam_service_name, PAMServiceName, SSHCFG_ALL, SSHCFG_COPY_NONE)
+SSHCONF_STRING(pam_service_name, PAMServiceName, SSHCFG_ALL, SSHCFG_COPY_MATCH)
#else
#define SSHD_CONFIG_ENTRIES_PAM \
SSHCONF_UNSUPPORTED_INT(use_pam, UsePAM, SSHCFG_GLOBAL) \
--
To stop receiving notification emails like this one, please contact
djm at mindrot.org.
More information about the openssh-commits
mailing list