You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
Initialized with data from Futurama
Support for TLS (snake oil cert on build)
memberOf overlay support
MS-AD Style Groups support
~124MB images size (~40MB compressed)
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
In case you want to use this OpenLDAP server for testing with a Java-based
application using JAAS and the LdapLoginModule, here's a working configuration
file you can use to connect.
This config uses the admin credentials to connect to the OpenLDAP server and to
submit the search query for the user that enters their credentials. As username
the uid attribute of each entry is used.