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 avengers.com
with data from the [Marvel Wiki].
Parts of the image are based on the work from Nick Stenning docker-slapd , Bertrand Gouny docker-openldap and Marcelo Almeida [inspiration and costumization].
The Flask extension flask-ldapconn use this image for unit tests.
Initialized with data from Marvel
Support for TLS (snake oil cert on build)
memberOf overlay support
MS-AD Style Groups support
~124MB images size (~40MB compressed)
docker pull carlosrbcunha/docker-test-openldap
docker run --privileged -d -p 389:389 carlosrbcunha/docker-test-openldap
/etc/ldap/slapd.d
/etc/ldap/ssl
/var/lib/ldap
/run/slapd
Admin
Secret
cn=admin,dc=marvel,dc=com
BestPasswordEver
ou=heroes,dc=marvel,dc=com
cn=Tony Stark,ou=heroes,dc=marvel,dc=com
Attribute
Value
objectClass
inetOrgPerson
cn
Tony Stark
sn
Stark
description
Human
displayName
Ironman
employeeType
Heroe
givenName
Tony
mail
[email protected]
ou
heroes
uid
ironman
userPassword
ironman
cn=Bruce Banner,ou=heroes,dc=marvel,dc=com
Attribute
Value
objectClass
inetOrgPerson
cn
Bruce Banner
sn
Banner
description
Human
displayName
Hulk
employeeType
Heroe
givenName
Bruce
mail
[email protected]
ou
Heroes
uid
hulk
userPassword
hulk
cn=Natasha Romanoff,ou=heroes,dc=marvel,dc=com
Attribute
Value
objectClass
inetOrgPerson
cn
Natasha Romanoff
sn
Romanoff
description
Human
displayName
BlackWidow
employeeType
Heroe
givenName
Natasha
mail
[email protected]
ou
Heroes
uid
blackwidow
userPassword
blackwidow
cn=Steve Rogers,ou=heroes,dc=marvel,dc=com
Attribute
Value
objectClass
inetOrgPerson
cn
Steve Rogers
sn
Rogers
description
Human
employeeType
Heroe
givenName
Steve
mail
[email protected]
ou
Office Management
uid
cptn-america
userPassword
cptn-america
cn=Thor,ou=heroes,dc=marvel,dc=com
Attribute
Value
objectClass
inetOrgPerson
cn
Thor
sn
Thor
description
Demi God
employeeType
Heroe
givenName
Thor
mail
[email protected]
ou
Heroes
uid
thor
userPassword
thor
ou=villains,dc=marvel,dc=com
cn=Thanos,ou=villains,dc=marvel,dc=com
Attribute
Value
objectClass
inetOrgPerson
cn
Thanos
sn
Thanos
description
Titan Warlord
employeeType
Villain
givenName
Thanos
mail
[email protected]
ou
Villains
uid
thanos
userPassword
thanos
cn=Johann Schmidt,ou=villains,dc=marvel,dc=com
Attribute
Value
objectClass
inetOrgPerson
cn
Johann Schmidt
sn
Schmidt
description
Human
employeeType
Hydra
givenName
Johann
mail
[email protected]
ou
Villains
uid
redskull
userPassword
redskull
cn=Arnin Zola,ou=villains,dc=marvel,dc=com
Attribute
Value
objectClass
inetOrgPerson
cn
Arnin Zola
sn
Zola
description
Human
givenName
Arnin
mail
[email protected]
ou
Villains
uid
zola
userPassword
zola
cn=Alexander Pierce,ou=villains,dc=marvel,dc=com
Attribute
Value
objectClass
inetOrgPerson
cn
Alexander Pierce
sn
Pierce
description
Human
givenName
Alexander
mail
[email protected]
ou
Villains
uid
pierce
userPassword
pierce
cn=Wolfgang von Strucker,ou=villains,dc=marvel,dc=com
Attribute
Value
objectClass
inetOrgPerson
cn
Wolfgang von Strucker
sn
Strucker
description
Human
givenName
Wolfgang
mail
[email protected]
ou
Villains
uid
strucker
userPassword
strucker
cn=Werner Reinhardt,ou=villains,dc=marvel,dc=com
Attribute
Value
objectClass
inetOrgPerson
cn
Werner Reinhardt
sn
Reinhardt
description
Human
givenName
Werner
mail
[email protected]
ou
Villains
uid
reinhardt
userPassword
reinhardt
cn=Peter Quill,ou=heroes,dc=marvel,dc=com
Attribute
Value
objectClass
inetOrgPerson
cn
Peter Quill
sn
Quill
description
Human
givenName
Peter
mail
[email protected]
ou
Guardians
uid
quill
userPassword
quill
cn=Rocket Raccoon,ou=heroes,dc=marvel,dc=com
Attribute
Value
objectClass
inetOrgPerson
cn
Rocket Raccoon
sn
Raccoon
description
Halfworlder
givenName
Werner
mail
[email protected]
ou
Guardians
uid
rocket
userPassword
rocket
cn=Groot,ou=heroes,dc=marvel,dc=com
Attribute
Value
objectClass
inetOrgPerson
cn
Groot
sn
Groot
description
Flora colossus
givenName
Baby
mail
[email protected]
ou
Guardians
uid
groot
userPassword
groot
cn=Drax the Destroyer,ou=heroes,dc=marvel,dc=com
Attribute
Value
objectClass
inetOrgPerson
cn
Drax the Destroyer
sn
Destroyer
description
Male
givenName
Drax
mail
[email protected]
ou
Guardians
uid
drax
userPassword
drax
cn=Mantis,ou=heroes,dc=marvel,dc=com
Attribute
Value
objectClass
inetOrgPerson
cn
Mantis
sn
Mantis
description
Female
givenName
Mantis
mail
[email protected]
ou
Guardians
uid
mantis
userPassword
mantis
cn=Avengers,ou=groups,dc=marvel,dc=com
Attribute
Value
objectClass
Group
cn
Avengers
member
cn=Tony Stark,ou=heroes,dc=marvel,dc=com
member
cn=Bruce Banner,ou=heroes,dc=marvel,dc=com
member
cn=Natasha Romanoff,ou=heroes,dc=marvel,dc=com
member
cn=Steve Rogers,ou=heroes,dc=marvel,dc=com
member
cn=Thor,ou=heroes,dc=marvel,dc=com
cn=Hydra,ou=groups,dc=marvel,dc=com
Attribute
Value
objectClass
Group
cn
Hydra
member
cn=Johann Schmidt,ou=villains,dc=marvel,dc=com
member
cn=Arnin Zola,ou=villains,dc=marvel,dc=com
member
cn=Alexander Pierce,ou=villains,dc=marvel,dc=com
member
cn=Wolfgang von Strucker,ou=villains,dc=marvel,dc=com
member
cn=Werner Reinhardt,ou=villains,dc=marvel,dc=com
cn=Guardians,ou=groups,dc=marvel,dc=com
Attribute
Value
objectClass
Group
cn
Guardians
member
cn=Peter Quill,ou=heroes,dc=marvel,dc=com
member
cn=Rocket Raccoon,ou=heroes,dc=marvel,dc=com
member
cn=Groot,ou=heroes,dc=marvel,dc=com
member
cn=Drax the Destroyer,ou=heroes,dc=marvel,dc=com
member
cn=Mantis,ou=heroes,dc=marvel,dc=com