Ubuntu 22.04 + OpenLDAP 2.6.13 + saslauthd
904
This repository provides a production-ready, containerized OpenLDAP server. It is built upon an Ubuntu 22.04 LTS (Jammy Jellyfish) base image, utilizes the enterprise-grade Symas OpenLDAP 2.6.13 binaries, and integrates saslauthd for advanced Simple Authentication and Security Layer (SASL) pass-through authentication.
While Symas provides their own minimal images, migrating to an Ubuntu 22.04 base image provides distinct administrative advantages:
apt, systemd structures, standard glibc) making it drastically easier to debug network layers, certificate chains, and file permissions using standard Linux tooling.Symas OpenLDAP is a highly optimized, commercially backed build of the open-source LDAP directory server. Unlike standard Linux distribution packages (which often lag years behind), Symas provides the latest 2.6.x features, including the highly performant Memory-Mapped Database (back_mdb) and modern replication mechanisms.
Because Symas compiles OpenLDAP independently to avoid conflicting with OS-level LDAP libraries, the paths differ significantly from standard Ubuntu /etc/ldap/ deployments.
When mounting volumes or editing configurations, you must use the following Symas-specific directories:
| Purpose | Symas Directory Path | Description |
|---|---|---|
| Configuration | /opt/symas/etc/openldap/ | Houses slapd.conf or the slapd.d (cn=config) directory. |
| Database (Data) | /var/symas/openldap-data/ | The storage location for the MDB database files (data.mdb, lock.mdb). |
| PID & Sockets | /var/symas/run/ | Stores the slapd.pid and internal IPC sockets. |
| Binaries | /opt/symas/lib/ & /opt/symas/bin/ | Location of the slapd daemon and client tools (ldapsearch, etc.). |
saslauthd)This image extends the base LDAP functionality by running saslauthd alongside slapd. This allows OpenLDAP to delegate credential verification to external systems (e.g., Active Directory, PAM, or another LDAP server) using pass-through authentication.
/etc/saslauthd.conf/opt/symas/etc/openldap/slapd.conf/etc/ldap/ldap.conf/usr/lib/sasl2/slapd.conf/var/run/saslauthd.chgrp openldap) so the slapd process can securely communicate with the saslauthd daemon without running as root.Running the Container:
docker run -d \
--name ldap-sasl-server \
-p 389:389 \
-v /path/to/your/slapd.conf:/opt/symas/etc/openldap/slapd.conf:ro \
-v /path/to/your/data:/var/symas/openldap-data \
docker.io/domaindir/ubuntu-symasldap-saslauth:2.6.13
Content type
Image
Digest
sha256:e2c9f22cf…
Size
53.2 MB
Last updated
24 days ago
docker pull domaindir/ubuntu-symasldap-saslauth