Manually added openldap user (107:107) and old-fashioned slapd.conf with symas specific templates
1.6K
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.
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.). |
Touchpoint for customized configuration:
COPY slapd.conf /opt/symas/etc/openldap/slapd.conf
Running the Container:
docker run -d \
--name ubuntu-symasldap-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-symas-openldap:2.6.13
Content type
Image
Digest
sha256:19b977ae8…
Size
41.6 MB
Last updated
25 days ago
docker pull domaindir/ubuntu-symas-openldap