Skip to content

rickardl/ldap-mock

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Username Password Group
developer password developers
customer password users
service password services

License

MIT