nc-env / templates / template04-ldap /
@pmarini pmarini authored on 21 Mar 2023
..
artifacts initial commit 3 years ago
Readme.md initial commit 3 years ago
Vagrantfile initial commit 3 years ago
provision.sh initial commit 3 years ago
Readme.md

OpenLDAP server

Setup

  • Assuming that the copy of the template is called ldap-instance, move to folder ldap-instance.
  • Check the content of folder artifacts
File name Description
config.php phpLdapAdmin configuration file
`debconf-slapd.conf Pre-filled answers to questions for silent installation of slapd
  • Create folder log
  • Open Vagrantfile and change the value of variable lxd.name. It makes sense to give the same name as the folder, in this example ldap-instance.
  • Open provision.sh and change the value of variable MACHINE_HOSTNAME. It makes sense to give the same name as the folder, plus the domain, in this example ldap-instance.localenv.com.
  • Run vagrant up > log/provisioning.log
  • Make sure your system is able to resolve the domain name that you specified in variable MACHINE_HOSTNAME, for example by adding an entry in /etc/hosts
  • Start using your environment