# Fixed chsh/chfn, Closes: #240175
# Use proper ldap.conf file
--- libpam-ldap-184.orig/chsh
+++ libpam-ldap-184/chsh
@@ -32,7 +32,7 @@
 # use pam_ldap's config file since this script is ldap specific and
 # is a work around for a deficiency in pam
 $CONF{'pam_login_attribute'}='uid';
-open(CONF,"/etc/ldap.conf") or die "$!\n";
+open(CONF,"/etc/pam_ldap.conf") or die "$!\n";
 while(<CONF>) {
   next if(m/^\s*($|#)/);
   m/^\s*(\S+)\s+(.*?)\s*$/;
