Sign inSign up

skandragon/ldap-testing-db

By skandragon

•Updated over 3 years ago

LDAP server used for testing purposes.

Image
0

4.6K

skandragon/ldap-testing-db repository overview

https://github.com/skandragon/ldap-testing-db⁠

⁠ldap-testing-db

This is a ldap server with a few pre-defined users set up.

⁠Administration

The root password for cn=admin,dc=example,dc=com is adminroot123

⁠Users

Each user is defined as:

dnpassworddisplayName
uid=user1,ou=Users,dc=example,dc=comuser1passwordUser One
uid=user2,ou=Users,dc=example,dc=comuser2passwordUser Two
uid=user3,ou=Users,dc=example,dc=comuser3passwordUser Three
uid=user4,ou=Users,dc=example,dc=comuser4passwordUser Four
uid=user5,ou=Users,dc=example,dc=comuser5password(absent)
uid=user6,ou=Users,dc=example,dc=comuser6passwordUser Six

⁠Groups

These groups are defined:

dnnamemembers
cn=AllUsers,ou=Groups,dc=example,dc=comAllUsersuser1, user2, user3, user4, user5
cn=OneTwo,ou=Groups,dc=example,dc=comOneTwouser1, user2
cn=Administrators,ou=Groups,dc=example,dc=comAdministratorsuser2, user4

There are also 20 groups called LongGroupList01 through LongGroupList20 which only user6 is part of. This is to make sure that a large group list can be returned, and if rendered to JSON, won't be truncated in some storage.

Each user will see a memberOf attribute (which must be explicitly queried for) in the user record.

⁠Durability of updates

There is no persistent store defined, nor do I plan on adding this. This server is for testing purposes, intended to be brought up and down as needed to run tests or demos.

Tag summary

Content type

Image

Digest

sha256:8dc8a42f5…

Size

4.5 MB

Last updated

over 3 years ago

docker pull skandragon/ldap-testing-db