Topic 6

Date: 3/26/2014
Lightweight Directory Access Protocol (LDAP)
Practical guide to Linux systems 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