Description: Updated config file path references.
Author: Lucas de Castro Borges <lucas@gnuabordo.com.br>
Last-Update: 2016-12-12
Index: libpam-ldap-186/chfn
===================================================================
--- libpam-ldap-186.orig/chfn
+++ libpam-ldap-186/chfn
@@ -53,7 +53,7 @@ while(<CONF>) {
   $CONF{$1}=$2;
 }
 close(CONF);
-open(CONF,"/etc/ldap.secret") and chomp($CONF{'rootbindpw'}=<CONF>);
+open(CONF,"/etc/pam_ldap.secret") and chomp($CONF{'rootbindpw'}=<CONF>);
 close(CONF);
 
 %FIELDS=(
Index: libpam-ldap-186/chsh
===================================================================
--- libpam-ldap-186.orig/chsh
+++ libpam-ldap-186/chsh
@@ -39,7 +39,7 @@ while(<CONF>) {
   $CONF{$1}=$2;
 }
 close(CONF);
-open(CONF,"/etc/ldap.secret") and chomp($CONF{'rootbindpw'}=<CONF>);
+open(CONF,"/etc/pam_ldap.secret") and chomp($CONF{'rootbindpw'}=<CONF>);
 close(CONF);
 
 use Net::LDAP;
Index: libpam-ldap-186/ldap.conf
===================================================================
--- libpam-ldap-186.orig/ldap.conf
+++ libpam-ldap-186/ldap.conf
@@ -1,4 +1,4 @@
-# @(#)$Id: ldap.conf,v 1.38 2006/05/15 08:13:31 lukeh Exp $
+# @(#)$Id: pam_ldap.conf,v 1.38 2006/05/15 08:13:31 lukeh Exp $
 #
 # This is the configuration file for the LDAP nameservice
 # switch library and the LDAP PAM module.
@@ -39,7 +39,7 @@ base dc=padl,dc=com
 
 # The distinguished name to bind to the server with
 # if the effective user ID is root. Password is
-# stored in /etc/ldap.secret (mode 600)
+# stored in /etc/pam_ldap.secret (mode 600)
 #rootbinddn cn=manager,dc=padl,dc=com
 
 # The port.
@@ -255,7 +255,7 @@ base dc=padl,dc=com
 # OpenLDAP SSL options
 # Require and verify server certificate (yes/no)
 # Default is to use libldap's default behavior, which can be configured in
-# /etc/openldap/ldap.conf using the TLS_REQCERT setting.  The default for
+# /etc/openldap/pam_ldap.conf using the TLS_REQCERT setting.  The default for
 # OpenLDAP 2.0 and earlier is "no", for 2.1 and later is "yes".
 #tls_checkpeer yes
 
Index: libpam-ldap-186/pam_ldap.5
===================================================================
--- libpam-ldap-186.orig/pam_ldap.5
+++ libpam-ldap-186/pam_ldap.5
@@ -35,7 +35,7 @@ When authenticating or authorizing a use
 pam_ldap
 first maps the user's login name to a distinguished name by searching
 the directory server. This must be possible using the local system's
-identity, specified in ldap.conf. (Note that presently only simple
+identity, specified in pam_ldap.conf. (Note that presently only simple
 authentication is supported for authenticating in this initial step.)
 .LP
 To authenticate a user,
@@ -63,7 +63,7 @@ Whilst
 .B
 pam_ldap
 is generally configured in the system LDAP naming configuration file
-(ldap.conf), some options can be configured in the PAM configuration
+(pam_ldap.conf), some options can be configured in the PAM configuration
 file, to allow for per-service granularity. These options include
 the path to the LDAP naming configuration file to use, so in effect
 all options can be configured on a per-service basis. Options are
@@ -73,7 +73,7 @@ listed below under PAM Configuration.
 pam_ldap
 stores its configuration in the
 .B
-ldap.conf
+pam_ldap.conf
 file. (It should be noted that some LDAP client libraries, such as
 OpenLDAP, also use a configuration file of the same name.
 .B
@@ -176,7 +176,7 @@ zero. If not specified, then the identit
 .B binddn
 is used instead. Because the configuration file may be readable by
 many users, the root bind DN credentials are stored in the
-.B ldap.secret
+.B pam_ldap.secret
 file instead. This file is usually in the same directory as the
 configuration file.
 .TP
@@ -433,7 +433,7 @@ Specifies that
 .B pam_ldap
 should use the configuration file in
 .B path
-instead of ldap.conf to retrieve its global configuration. Configuring
+instead of pam_ldap.conf to retrieve its global configuration. Configuring
 multiple instances of
 .B pam_ldap
 for the same service with different configuration files is not supported,
@@ -508,6 +508,6 @@ The
 module was developed by PADL Software Pty Ltd (www.padl.com).
 .SH FILES
 .TP
-/etc/ldap.conf, /etc/ldap.secret, /etc/pam.conf
+/etc/pam_ldap.conf, /etc/pam_ldap.secret, /etc/pam.conf
 .SH SEE ALSO
 .BR pam (8)
