Docker OpenLDAP Server for testing LDAP applications
Shell 100.00%
docker-test-openldap's Introduction
OpenLDAP Docker Image for testing
This image provides an OpenLDAP Server for testing LDAP applications, i.e. unit tests. The server is initialized with the example domain planetexpress.com with data from the Futurama Wiki.
Parts of the image are based on the work from Nick Stenning docker-slapd and Bertrand Gouny docker-openldap.
The Flask extension flask-ldapconn use this image for unit tests.
Features
Support for TLS (snake oil cert on build)
Initialized with data from Futurama
~180MB Images size
Usage
docker pull rroemhild/test-openldap
docker run --privileged -d -p 389:389 rroemhild/test-openldap
Exposed ports
389
636
Exposed volumes
/etc/ldap/slapd.d
/etc/ldap/ssl
/var/lib/ldap
/run/slapd
LDAP structure
dc=planetexpress,dc=com
Admin
Secret
cn=admin,dc=planetexpress,dc=com
GoodNewsEveryone
ou=people,dc=planetexpress,dc=com
cn=Hubert J. Farnsworth,ou=people,dc=planetexpress,dc=com