OpenLDAP 2.5 Quick Start
Learn how to quickly get started with OpenLDAP 2.5, a protocol for accessing and maintaining distributed directory information services, allowing you to efficiently manage your database infrastructure.
Table of Contents
Date: 08-02-2024
This is a fast way to set up an OpenLDAP database with a sample database. The sample database is a good learning tool.
Installation Steps
Your "Server"
The Quick Start is written for an Ubuntu 22.04 server (real or VM). There are instructions on the OpenLDAP Repository Website for all of the other platforms we support. The differences are minor and you should have no trouble.
You should not need to do anything special on any of the supported server platforms before you start.
Connect to the Symas Software Repository
1. Register the Symas Repository's key with your server's software maintenance.
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys DA26A148887DCBEB
This tells the software maintenance tools to trust the repository.
2. Add the repository to the server's list of software sources:
For release 2.5:
sudo wget -q https://repo.symas.com/configs/SOLDAP/d11/release25.list -O /etc/apt/sources.list.d/soldap-release25.list
For release 2.6:
sudo wget -q https://repo.symas.com/configs/SOLDAP/d11/release26.list -O /etc/apt/sources.list.d/soldap-release26.list
3. Update the local software catalogs and install OpenLDAP:
sudo apt update
sudo apt install symas-openldap-clients symas-openldap-server
When that finishes, you should have OpenLDAP 2.5 installed.
Install the Example Database
The example database install script (exampledb.sh
) asks a few questions. Select option 1 (slapd.conf) when asks which of two formats you want. It then asks for confirmation to replace the config and the database.
Finally, it asks if you want to run "the test query" ... hint **you do**.
sudo /opt/symas/share/symas/exampledb.sh
Install Apache Directory Studio
Go to this page for detailed instruction.