In most cases, you'll modify files in /etc/pam.d; each file is named after the login or account maintenance service you want to adjust. To add LDAP to the login .