A drop-in replacement for the Bitnami OpenLDAP image, built entirely from open-source components.
Key differences from the official Bitnami image:
- OpenLDAP is compiled directly from the upstream sources (no Bitnami-built tarball)
- Base image is
debian:13-sliminstead of Bitnami'sminideb
# docker-compose.yml
services:
openldap:
image: ghcr.io/ripolin/openldap:latest
ports:
- '1389:1389'
- '1636:1636'
environment:
- LDAP_ADMIN_USERNAME=admin
- LDAP_ADMIN_PASSWORD=adminpassword
- LDAP_USERS=user01,user02
- LDAP_PASSWORDS=password1,password2
volumes:
- openldap_data:/bitnami/openldap
volumes:
openldap_data:| Tag | OpenLDAP version | Base OS |
|---|---|---|
latest, 2.6, 2.6.13, 2.6.13-debian-13 |
2.6.13 | Debian 13 slim |
Images are published to ghcr.io/ripolin/openldap for linux/amd64 and linux/arm64.
In addition to the standard overlays, the following contrib modules are included:
| Module | Description |
|---|---|
autogroup |
Automatic group membership management |
lastbind |
Records the last successful bind time |
pbkdf2 |
PBKDF2 password hashing scheme |
sha2 |
SHA-2 password hashing schemes (SHA-256, SHA-384, SHA-512) |
smbk5pwd |
Samba and Kerberos password synchronization |
This image is fully compatible with the Bitnami OpenLDAP image configuration. All environment variables, volumes, and entrypoint scripts behave identically.
See the Bitnami OpenLDAP documentation for the full list of configuration options.
cd 2.6/debian-13
docker build -t openldap:local .Apache 2.0 — see LICENSE.