#!/usr/bin/patch -p0
# $Header: /global/src/etc/cl-manage-scripts/patches/RCS/P-pam-sys-auth-ac-500-ldap,v 1.3 2010/10/21 05:32:49 pb22 Exp $
#
# Command to fix up /etc/pam.d/system-auth, which defaults to be 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/system-auth-ac
# patch-file matches = 	if.*100
# patch-file distmatches = Fedora|CentOS|Red.Hat.Enterprise.Linux
--- /etc/pam.d/system-auth-ac	2006-07-03 20:27:23.000000000 +0100
+++ /etc/pam.d/system-auth-ac	2006-07-03 10:50:41.000000000 +0100
@@ -6 +6 @@
-auth        requisite     pam_succeed_if.so uid >= 500 quiet
+auth        requisite     pam_succeed_if.so uid >= 100 quiet
@@ -12 +12,2 @@
-account     sufficient    pam_succeed_if.so uid < 500 quiet
+account     sufficient    pam_succeed_if.so uid < 100 quiet
+account     required      pam_ldap.so
