Skip to content

iainthegray/vagrant-ldap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OpenLDAP Vagrant box

Usage

  1. clone the repo
  2. vagrant up
  3. vagrant ssh
  4. sudo dpkg-reconfigure slapd (set your domain and admin passwd)
  5. ldapadd -x -H ldap://127.0.0.1:389/ -D "cn=admin,dc=foo,dc=com" -W -f ldap_base.ldif
  6. sudo ldapadd -Q -Y EXTERNAL -H ldapi:/// -f load_memberof.ldif
  7. sudo ldapadd -Q -Y EXTERNAL -H ldapi:/// -f load_memberof_overlay.ldif
  8. ldapadd -x -H ldap://127.0.0.1:389/ -D "cn=admin,dc=foo,dc=com" -W -f ldap_users.ldif

Testing

ldapsearch -x -LLL -H ldap:/// -b uid=beast,ou=people,dc=foo,dc=com dn memberof

About

vagrant box with OpenLDAP

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages