Installing OpenLDAP (2.5 and later)
Step-by-step instructions for the installation process, guiding you in setting up and configuring the basic elements of a system or software.
Table of Contents
Date: 04-11-2022
Symas OpenLDAP provides OpenLDAP 2.5 and OpenLDAP 2.6 packaged binaries which can be installed for multiple Linux distributions. Below are the links to the location of the binaries and the instructions for installation and upgrade.
Packages
Packages can be found here (repo.symas.com.)
Once you have selected the long term support release (OpenLDAP 2.5) or current feature release (OpenLDAP 2.6), you will need to select which OS you are installing for:
Long Term Support release: OpenLDAP 2.5 (repo.symas.com/soldap2.5)
Current Feature Release: OpenLDAP 2.6 (repo.symas.com/soldap)
If you are upgrading from 2.4 make sure to read the upgrade section:
Upgrade section for 2.5 (repo.symas.com/soldap2.5/upgrading)
Upgrade section for 2.6 (repo.symas.com/soldap/upgrading)
If you are using SELinux, read the section regarding SELinux specific criteria:
SELinux Notes for OpenLDAP 2.5 (repo.symas.com/soldap2.5/selinux)
SELinux Notes for OpenLDAP2.6 (repo.symas.com/soldap/selinux)
Rapid Deployment Script
exampledb.sh
Executing the /opt/symas/share/symas/exampledb.sh
script will install an example database, create generic slapd.conf and symas-openldap.conf files, and start the slapd process
Execute exampledb.sh, and type YES in all CAPS when asked to do so:
sudo ./exampledb.sh
The exampledb.sh script will start the slapd daemon; make sure it is still running by executing this command:
systemctl slapd status