This is a simple LDAP server that tries to simulate an Active Directory using Apache Directory Server.
It should work for activedirectory.js
- Ability to mount a directory as a volume for a custom ldif file which can be specified by the environment variable USERS_LDIF
- Updated version of ldap server
docker build -t mcicolella/ldap-ad-it:latest .
Get the image it from https://hub.docker.com/r/mcicolella/ldap-ad-it
With predefined users from /ldap/users.ldif:
docker run -it --rm -p 10389:10389 mcicolella/ldap-ad-it:latest
With your own users from your volume:
docker run -it --rm -v data:/data --env USERS_LDIF=/data/myusers.ldif -p 10389:10389 mcicolella/ldap-ad-it:latest
With your own users from your volume on Windows:
docker run -it --rm -v //c/Users/path/to/my/data:/data --env USERS_LDIF=/data/myusers.ldif -p 10389:10389 mcicolella/ldap-ad-it:latest
- Download Apache Directory Studio
Project forked from
based on LDAP server in Java