Skip to content

Simple LDAP server simulating AD for integration testing

Notifications You must be signed in to change notification settings

mcicolella/ldap-ad-it

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple LDAP server simulating Active Directory for integration testing

This is a simple LDAP server that tries to simulate an Active Directory using Apache Directory Server.

It should work for activedirectory.js

Enhancements in this fork

  • 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

Building

docker build -t mcicolella/ldap-ad-it:latest .

Docker Hub

Get the image it from https://hub.docker.com/r/mcicolella/ldap-ad-it

Running

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

Apache Directory Studio

alt text

alt text

alt text

Credits

Project forked from

based on LDAP server in Java

About

Simple LDAP server simulating AD for integration testing

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Dockerfile 100.0%