aboutsummaryrefslogtreecommitdiff
path: root/debian/patches-applied/pam_unix_fix_sgid_shadow_auth.patch
diff options
context:
space:
mode:
authorSteve Langasek <steve.langasek@canonical.com>2022-08-17 16:21:14 -0700
committerSteve Langasek <steve.langasek@canonical.com>2022-08-17 23:35:06 +0000
commit6b25469cd26d79e424e1e58aa0a4e3bfa9855982 (patch)
treee0e66398e144833a8d058787f2204ef7cb0782bc /debian/patches-applied/pam_unix_fix_sgid_shadow_auth.patch
parent7561896529a7af05201dc31e959a05897ef99e19 (diff)
downloadpam-6b25469cd26d79e424e1e58aa0a4e3bfa9855982.tar.gz
pam-6b25469cd26d79e424e1e58aa0a4e3bfa9855982.tar.bz2
pam-6b25469cd26d79e424e1e58aa0a4e3bfa9855982.zip
Refresh patches
Diffstat (limited to 'debian/patches-applied/pam_unix_fix_sgid_shadow_auth.patch')
-rw-r--r--debian/patches-applied/pam_unix_fix_sgid_shadow_auth.patch25
1 files changed, 0 insertions, 25 deletions
diff --git a/debian/patches-applied/pam_unix_fix_sgid_shadow_auth.patch b/debian/patches-applied/pam_unix_fix_sgid_shadow_auth.patch
deleted file mode 100644
index 0ce85eb7..00000000
--- a/debian/patches-applied/pam_unix_fix_sgid_shadow_auth.patch
+++ /dev/null
@@ -1,25 +0,0 @@
-Revert upstream change that prevents pam_unix from working with sgid
-shadow applications.
-
-Authors: Steve Langasek <vorlon@debian.org>
-
-Upstream status: to be submitted (and debated...)
-
-Index: pam/modules/pam_unix/passverify.c
-===================================================================
---- pam.orig/modules/pam_unix/passverify.c
-+++ pam/modules/pam_unix/passverify.c
-@@ -198,11 +198,11 @@
- * ...and shadow password file entry for this user,
- * if shadowing is enabled
- */
-+ *spwdent = pam_modutil_getspnam(pamh, name);
- #ifndef HELPER_COMPILE
-- if (geteuid() || SELINUX_ENABLED)
-+ if (*spwdent == NULL && (geteuid() || SELINUX_ENABLED))
- return PAM_UNIX_RUN_HELPER;
- #endif
-- *spwdent = pam_modutil_getspnam(pamh, name);
- if (*spwdent == NULL || (*spwdent)->sp_pwdp == NULL)
- return PAM_AUTHINFO_UNAVAIL;
- }