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 planetexpress.com
with data from the Futurama Wiki .
Based on Rafael Römhild docker-test-openldap .
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.
Support for TLS (snake oil cert on build)
Initialized with data from Futurama
~124MB images size (~40MB compressed)
docker pull gitea/test-openldap
docker run --privileged -d -p 389:389 gitea/test-openldap
/etc/ldap/slapd.d
/etc/ldap/ssl
/var/lib/ldap
/run/slapd
Admin
Secret
cn=admin,dc=planetexpress,dc=com
GoodNewsEveryone
ou=service,dc=planetexpress,dc=com
uid=gitea,ou=service,dc=planetexpress,dc=com
Attribute
Value
objectClass
account
description
Service account for integration with Gitea
mail
[email protected]
uid
gitea
userPassword
password
ou=people,dc=planetexpress,dc=com
cn=Hubert J. Farnsworth,ou=people,dc=planetexpress,dc=com
Attribute
Value
objectClass
inetOrgPerson
cn
Hubert J. Farnsworth
sn
Farnsworth
description
Human
displayName
Professor Farnsworth
employeeType
Owner
employeeType
Founder
givenName
Hubert
jpegPhoto
JPEG-Photo (630x507 Pixel, 26780 Bytes)
mail
[email protected]
mail
[email protected]
ou
Office Management
title
Professor
uid
professor
userPassword
professor
cn=Philip J. Fry,ou=people,dc=planetexpress,dc=com
Attribute
Value
objectClass
inetOrgPerson
cn
Philip J. Fry
sn
Fry
description
Human
displayName
Fry
employeeType
Delivery boy
givenName
Philip
jpegPhoto
JPEG-Photo (429x350 Pixel, 22132 Bytes)
mail
[email protected]
ou
Delivering Crew
uid
fry
userPassword
fry
cn=John A. Zoidberg,ou=people,dc=planetexpress,dc=com
Attribute
Value
objectClass
inetOrgPerson
cn
John A. Zoidberg
sn
Zoidberg
description
Decapodian
displayName
Zoidberg
employeeType
Doctor
givenName
John
jpegPhoto
JPEG-Photo (343x280 Pixel, 26438 Bytes)
mail
[email protected]
ou
Staff
title
Ph. D.
uid
zoidberg
userPassword
zoidberg
cn=Hermes Conrad,ou=people,dc=planetexpress,dc=com
Attribute
Value
objectClass
inetOrgPerson
cn
Hermes Conrad
sn
Conrad
description
Human
employeeType
Bureaucrat
employeeType
Accountant
givenName
Hermes
mail
[email protected]
ou
Office Management
uid
hermes
userPassword
hermes
sshPublicKey
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC8Fk93z/DLVBj4gHUw3+LOhaIAwCmmXHSfCOlD9Pa1NUTDgURf32m//tRBSDn6o9BTsaHkXyOdTYUF6mXxfwdHaGx3bfXDnUQEX/1J88x0LL6p+sigrGc9/2OUZtL5Af4lNPgbUl1U15U2hhh/Nv9URObSPIbAxURIIArrfYMgDNcUoA/BA4dxnk2lc9Mc/Fozkx7N7bNVT1GOAtosR5Y+ukdTwJFzKmrH6hBAzRKVIxfa4XT+cOmOYW4kL/ca/owHQURxqI4VMKcLEkEYdwANRt1/HJL5kJkpDPQF2gmrH+XNs46E3zicMIzEzKa53gks9hiyRt/AT7UMwXbmSbGv hermes@pc
sshPublicKey
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDOajx6+YcZCdu97aJiC0cIoOkk63kp8mv3ZAOrC0m0g6kibiPmCVmo/ITegtu58boy0CMpmwD/thk36FFdy4Ig5ZNMCRv+9m6PtIE06pvUB6rtYfgzwMc+G3Wibs/zsb7XUwl6Cl/JtsYyeXpdlzIgSt7SzrWf+BVQxOAtJD7bjLXtvQhjHbBO21Zh/Xp0kKlMWlzhSSs5AEjUY0jRAXMPkXPzf8dqhd6JKpdxvk1fjc14BWISZqgeiLpUUL+hk+md5SB31NEKtTkx6nQ5QbXe9BSwu0CtxjAq1vaHwL3bLNL7NFArrltIfOh0BDSADOVfMJ6nSnRgv4uk50gnUr2F hermes@laptop
sshPublicKey
ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBH+EtG8OXSsgX9sRldi86H0lBEY/vZAeejxHxDjG1rF+S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OiL2TaZ5jvrjP/9u8Zq7AVLmY36oaEz3Uw2abGGn0+lM0Ai019p7
g8Jnx5PIr5hLY4qCMOY2ItdP5n+Kne9WwZaQETULVUV+m2X+aC/i
-----END RSA PRIVATE KEY-----
cn=Turanga Leela,ou=people,dc=planetexpress,dc=com
Attribute
Value
objectClass
inetOrgPerson
cn
Turanga Leela
sn
Turanga
description
Mutant
employeeType
Captain
employeeType
Pilot
givenName
Leela
jpegPhoto
JPEG-Photo (429x350 Pixel, 26526 Bytes)
mail
[email protected]
ou
Delivering Crew
uid
leela
userPassword
leela
cn=Bender Bending Rodríguez,ou=people,dc=planetexpress,dc=com
Attribute
Value
objectClass
inetOrgPerson
cn
Bender Bending Rodríguez
sn
Rodríguez
description
Robot
employeeType
Ship's Robot
givenName
Bender
jpegPhoto
JPEG-Photo (436x570 Pixel, 26819 Bytes)
mail
[email protected]
ou
Delivering Crew
uid
bender
userPassword
bender
cn=admin_staff,ou=people,dc=planetexpress,dc=com
Attribute
Value
objectClass
Group
cn
admin_staff
member
cn=Hubert J. Farnsworth,ou=people,dc=planetexpress,dc=com
member
cn=Hermes Conrad,ou=people,dc=planetexpress,dc=com
cn=ship_crew,ou=people,dc=planetexpress,dc=com
Attribute
Value
objectClass
Group
cn
ship_crew
member
cn=Turanga Leela,ou=people,dc=planetexpress,dc=com
member
cn=Philip J. Fry,ou=people,dc=planetexpress,dc=com
member
cn=Bender Bending Rodríguez,ou=people,dc=planetexpress,dc=com
cn=git,ou=people,dc=planetexpress,dc=com
Attribute
Value
objectClass
Group
cn
git
member
cn=admin_staff,ou=people,dc=planetexpress,dc=com
member
cn=ship_crew,ou=people,dc=planetexpress,dc=com