|
|
пре 11 година | |
|---|---|---|
| service | пре 11 година | |
| test | пре 11 година | |
| .gitignore | пре 11 година | |
| CHANGELOG.md | пре 11 година | |
| Dockerfile | пре 11 година | |
| LICENSE | пре 11 година | |
| Makefile | пре 11 година | |
| README.md | пре 11 година | |
| test-repository.sh | пре 11 година | |
| test.sh | пре 11 година |
Fork of Nick Stenning docker-slapd : https://github.com/nickstenning/docker-slapd
Add support of 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 certificateldap.crt ldap server certificateldap.key ldap server certificate private keyand optionaly dhparam.pem this file is genereted automaticaly if not present.
--dns=127.0.0.1 allow to use the certificate cn correctly.
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