How to Install a local LDAP

Install and configure 389-ds

$ sudo apt-get install 389-ds-base
$ sudo setup-ds

Add a LDAP section in the config file

The config file usually is /etc/ravada.conf. Add this configuration:

ldap:
    admin_group: test.admin.group
    admin_user:
        dn: cn=Directory Manager
        password: thepasswordyouusedwhensetup-ds
    base: 'dc=telecom,dc=bcn'

Insert one test user

The ravada backend script allows creating users in the LDAP

$ sudo ./bin/ldap_admin.pl --add-user-ldap jimmy.mcnulty