#!/usr/bin/patch -p0
# $Header: /global/src/etc/cl-manage-scripts/patches/RCS/P-pam-password-auth-ac-ldap,v 1.1 2014/06/19 09:25:03 pb22 Exp $
#
# Command to fix up /etc/pam.d/password-auth. This is normally actually a link to *-ac
# Called by /usr/bin/cl-patch-file
# Called with a single argument, the file to be edited
#
# patch-file filename = /etc/pam.d/password-auth-ac
# patch-file matches =  pam_ldap.so
# patch-file distmatches = Fedora.release.11|CentOS.release.6
--- /etc/pam.d/password-auth-ac	2014-06-19 10:15:37.151168188 +0100
+++ /etc/pam.d/password-auth-ac	2014-06-19 10:10:48.876620984 +0100
@@ -12,2 +12,3 @@
 account     sufficient    pam_succeed_if.so uid < 100 quiet
+account     required      pam_ldap.so
 account     [default=bad success=ok user_unknown=ignore] pam_krb5.so
