Knowledge Base : LDAP Config RHEL 5 Linux

LDAP client configuration for Red Hat Linux

To configure Red Hat Linux for authentication against an LDAP server (Oracle Internet Directory, OpenLDAP or MacOSX Directory Server):

authconfig --enableldap --enableldapauth --ldapserver="IPofLDAPhost" --ldapbasedn="cn=users,dc=loopback,dc=org" --kickstart
vi /etc/ssh/sshd_config 
UsePAM yes
PAMAuthenticationViaKbdInt yes
/etc/init.d/sshd reload