Sign inSign up

rickardl/ldap-mock

By rickardl

•Updated about 8 years ago

LDAP Mock Server

Image
1

923

rickardl/ldap-mock repository overview

⁠ldap-mock

Really simple basic Docker image for mock of LDAP server⁠.

Use it to mock an LDAP server for authenticating applications. This should not be used in production environment, it is just for test purpose, nothing more.

It uses glauth⁠.

⁠Run

docker run -d -p 398:398 rickardl/ldap-mock

⁠Test

ldapsearch -LLL -H ldap://localhost:389 -D cn=service,ou=services,dc=telia,dc=io -w password -x -bdc=telia,dc=io

⁠Configuration

The server configuration is available as a simple properties file named ´config.cfg´

⁠LDAP users

The user configuration is available as a simple properties file named ´config.cfg´, but this image has been pre-configured with the following users.

Every user is located under the telia.io domain

UsernamePasswordGroup
developerpassworddevelopers
customerpasswordusers
servicepasswordservices

⁠License

MIT

Tag summary

Content type

Image

Digest

Size

119.4 MB

Last updated

about 8 years ago

docker pull rickardl/ldap-mock:1.0