Enabling of ldap client on Centos 7 is quite easy. Simply apply the commands below.

yum install openldap-client -y

authconfig –enableldap –enableldapauth –enableforcelagacy –ldapserver=”instructor.example.com”  –ldapbasedn=”dc=example,dc=com” –update

Testing ldap:

getent passwd ldapuser01

Advertisements