Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

LDAP test server

NOTE: Not working anymore, latest slapd apparently does not create the example DN and thus mrlesmithjr.openldap playbook fails.

If you wish to get the box up and running, install slapd, ldap-utils, and phpldapadmin manually. Then run dpkg-reconfigure slapd and configure the server. Use example.org in the domain, eg. org in the organization, and P@55w0rd as password. Then remove the tasks from debian.yml of mrlesmithjr.openldap, and run vagrant provision.

Install

ansible-galaxy install -r requirements.yml
vagrant up

Test

ldapsearch \
  -H ldap://localhost:1389 \
  -x -D cn=admin,dc=example,dc=org -w P@55w0rd \
  -b dc=example,dc=org uid=john

Manage

Go to http://localhost:8080/phpldapadmin and login with

user: cn=admin,dc=example,dc=org
password: P@55w0rd

Use

There's a user uid=john in ou=People,dc=example,dc=org with password P@55w0rd.