This repository has been archived on 2026-11-04. You can view files and clone it. You cannot open issues or pull requests or push a commit.
2014-08-25 22:03:17 +02:00
2014-08-25 22:03:17 +02:00
2014-07-16 22:23:59 +02:00
2014-04-25 09:20:20 +02:00
2014-08-22 16:44:54 +02:00
2014-07-02 17:19:55 +02:00
2014-07-17 10:37:49 +02:00
2014-06-17 09:26:56 +02:00
2014-06-23 21:30:04 +02:00
2014-06-23 21:30:04 +02:00

docker-openldap

Fork of Nick Stenning docker-slapd : https://github.com/nickstenning/docker-slapd

Add support of tls.

How to use tls

Add -v some/host/dir:/etc/ldap/ssl and --dns=127.0.0.1 to the run command.

some/host/dir must contain a least 3 files :

  • ca.crt certificate authority certificate
  • ldap.crt ldap server certificate
  • ldap.key ldap server certificate private key

and optionaly dhparam.pem this file is genereted automaticaly if not present.

--dns=127.0.0.1 allow to use the certificate cn correctly.

Example

docker run --dns=127.0.0.1 \
           -v /data/ldap/db:/var/lib/ldap \
           -v /data/ldap/config:/etc/ldap/slapd.d \
           -v /data/ldap/ssl/:/etc/ldap/ssl \
           -v /data/ldap/log/:/var/log \
           -e LDAP_DOMAIN=example.com \
           -e LDAP_ORGANISATION="Example Corp." \
           -e LDAP_ROOTPASS=toor \
           -p 389:389 -d osixia/openldap
S
Description
A docker image to run OpenLDAP
Readme MIT
126 KiB
0 Stars 9 Watchers 0 Forks
Languages
Shell 76.1%
Dockerfile 17.1%
Makefile 6.8%