Topic 7

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


OpenLDAP installation steps

  • OpenLDAP source is freely available and can be downloaded from http://www.openldap.org, compiled and installed on major Unix systems

    Server:
  • On Ubuntu Linux, complete OpenLDAP comes in the following packages:

    slapd, ldap-utils, libldap-2.4-2, libnss-ldap.

  • On the LDAP server, configuration file slapd.conf should be placed into directory /etc/ldap, service slapd started, then LDAP directory created and populated.

    Client:
  • For OpenLDAP client on Ubuntu, the following packages are needed to be installed:

    ldap-utils, libldap-2.4-2, libnss-ldap, libpam-ldap

  • On the client, the following configuration files, specifying the server host name and the binding address, should be created:
    /etc/ldap.conf and /etc/ldap/ldap.conf.

  • To allow authentication against LDAP on the client, the entries for passwd, group, and shadow should be set in file /etc/nsswitch.conf


  • Take me to the Course Website