Sign inSign up

domaindir/ubuntu-symas-openldap

By domaindir

•Updated 25 days ago

Manually added openldap user (107:107) and old-fashioned slapd.conf with symas specific templates

Image
0

1.6K

domaindir/ubuntu-symas-openldap repository overview

⁠Ubuntu Symas OpenLDAP

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.

⁠🐧 Why Ubuntu 22.04 LTS Base?

While Symas provides their own minimal images, migrating to an Ubuntu 22.04 base image provides distinct administrative advantages:

  • Security & Stability: Leveraging Canonical's Long Term Support (LTS) ensures predictable CVE patching for the OS layer until 2027.
  • Troubleshooting: It provides a familiar, standard Linux environment (apt, systemd structures, standard glibc) making it drastically easier to debug network layers, certificate chains, and file permissions using standard Linux tooling.
  • Compatibility: Native compatibility with standard monitoring, logging, and security agents that expect a standard Debian-based filesystem hierarchy.

⁠⚙️ Symas OpenLDAP Specifics

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.

⁠Symas Directory Structure

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:

PurposeSymas Directory PathDescription
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.).

⁠🚀 Usage

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

Tag summary

Content type

Image

Digest

sha256:19b977ae8…

Size

41.6 MB

Last updated

25 days ago

docker pull domaindir/ubuntu-symas-openldap