Topic 7

Date: 3/1/2017
Lightweight Directory Access Protocol (LDAP)
Linux System Administration

Practical exercises: LDAP client installation and configuration.

  • Install OpenLDAP packages on n01 VM.
    apt-get install ldap-utils libldap-2.4-2 libnss-ldap libpam-ldap
    You can accept the default entries in configuration stage since you will configure LDAP manually.

  • Remove the whole original content of /etc/ldap/ldap.conf and paste the configuration from the table below.
    HOST master 
    BASE dc=dom02,dc=linux,dc=class    

  • To make sure the client is bound to the LDAP server, execute ldapsearch command:
    ldapsearch -x  -LL  -b '' -s base '(objectclass=*)' namingContexts 
    You should see:
    namingContexts: dc=dom02,dc=linux,dc=class

  • Take me to the Course Website