Skip to content

Cleanup of LDAP installer

Nax requested to merge ldap_cleanup into dev

This commit rewrites LDAP installer with the following changes :

  • LDIF file now ends with the correct extension ".ldif",

  • Rather than dumping an old LDAP schema, now only samba and freeradius schema are added. This improves future proofness with freeradius schema evolving,

  • LDIF files now have licence header according to where it was taken,

  • install_re2o.sh no longer dump the new database with slapadd but uses generic LDAP commands to populate the new database,

  • install_re2o.sh no longer restart slapd service and installs all needed dependencies.

Compared to the old method, nothing should be different after the install (other than creation date and uuid).

Needed for further development with openldap in a Docker container.

I am using a LDAP database generated from this modification as my daily driver (Debian 9 VM) and I had no issue so far.

Merge request reports