Installing a web interface for LDAP

As LDAP is not very easy to manage over the terminal, we will install a web interface so that the process of adding users becomes a bit more bearable. The management tool we will be using is called phpLDAPadmin. Other options to manage your LDAP environment are also available; a full list of options is available at http://en.wikipedia.org/wiki/List_of_LDAP_software.

How to do it…

Let's install the LDAP server:

  1. Perform an SSH into your LDAP server.
  2. Install phpLDAPadmin by running the following command:
    $ sudo apt-get install phpldapadmin
    
  3. Next, we configure phpLDAPadmin to know about our LDAP server:
    $ sudo vim /etc/phpldapadmin/config.php
    
  4. Search for $servers->setValue('server','name','My LDAP Server'); and change ...

Get GitLab Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.