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 the LDAPjs client. The server
is initialized with the example domain planetexpress.com with data from the
Futurama Wiki. The original code is from
rroemhild/docker-test-openldap. Additions, e.g. an OU with a large
number of members, are added to directly support LDAPjs issues.
Note: instead of --it you could use -d to start the container in the
background.
Using your LDAP browser of choice, e.g. Apache Directory Studio, create
a connection profile with the following details:
Host: 127.0.0.1
Port: 1389
Bind DN: cn=admin,dc=planetexpress,dc=com
Bind Password: GoodNewsEveryone
Connect via the profile and you can now browse all of the included test
data.
Building Locally
A build script, build-image.sh, is included that will
build and push the images to the GitHub registry. You should not need to run
this script. For a local build, issue the following from the root directory
of this project:
$ docker build -t openldap .
The result will be a Docker image built for the local system's architecture
and stored in the local Docker image list. Running said image would look like:
$ docker run --rm -it -p 1389:389 openldap
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