Symas OpenLDAP Knowledge Base

Symas OpenLDAP 2.5 Quick Start

This is a fast way to set up an OpenLDAP database with some sample data. That database is a good learning tool.

Step 1: 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

Step 2: Connect to the Symas Software Repository

First you 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.

Then, you add the repository to the server’s list of software sources:

sudo wget -q https://repo.symas.com/configs/SOLDAP/d11/release25.list -O /etc/apt/sources.list.d/soldap-release25.list

Finally, we update the local software catalogs and install OpenLDAP:

sudo apt update
sudo apt install symas-openldap-clients symas-openldap-server

When that all finishes, you should have OpenLDAP 2.5 installed.

Step 3: Install the Example Database

sudo /opt/symas/share/symas/exampledb.sh

The script asks a few questions. Select option 2 (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.

Step 4: Install Apache Directory Studo

Go to this page for detailed instruction.