From 50e1446f85c6ac1332a18864f3641b51c7ce84e5 Mon Sep 17 00:00:00 2001 From: Steve Langasek Date: Mon, 28 Jul 2008 11:49:20 -0700 Subject: drop the patch to do NIS+ auth in-process, the uid changing is better handled by a subprocess. --- .../pam_unix_no_helper_for_nis+.patch | 31 ---------------------- 1 file changed, 31 deletions(-) delete mode 100644 debian/patches-applied/pam_unix_no_helper_for_nis+.patch (limited to 'debian/patches-applied') diff --git a/debian/patches-applied/pam_unix_no_helper_for_nis+.patch b/debian/patches-applied/pam_unix_no_helper_for_nis+.patch deleted file mode 100644 index 1742034c..00000000 --- a/debian/patches-applied/pam_unix_no_helper_for_nis+.patch +++ /dev/null @@ -1,31 +0,0 @@ -Don't force use of the helper for account verification with NIS+; the -previous code already works robustly for any non-threaded caller, and -will fall back to use of the helper anyway. - -Authors: Steve Langasek - -Upstream status: to be discussed - -Index: pam.deb/modules/pam_unix/passverify.c -=================================================================== ---- pam.deb.orig/modules/pam_unix/passverify.c -+++ pam.deb/modules/pam_unix/passverify.c -@@ -166,7 +166,6 @@ - if (*pwd != NULL) { - if (strcmp((*pwd)->pw_passwd, "*NP*") == 0) - { /* NIS+ */ --#ifdef HELPER_COMPILE - uid_t save_euid, save_uid; - - save_euid = geteuid(); -@@ -194,10 +193,6 @@ - - if (*spwdent == NULL || (*spwdent)->sp_pwdp == NULL) - return PAM_AUTHINFO_UNAVAIL; --#else -- /* we must run helper for NIS+ passwords */ -- return PAM_UNIX_RUN_HELPER; --#endif - } else if (is_pwd_shadowed(*pwd)) { - /* - * ...and shadow password file entry for this user, -- cgit v1.2.3