aerolab

Docs home

Deploying an LDAP server

This script set allows for easy deployment of an LDAP server with or without TLS, and LDAP admin web UI in docker containers.

This script can be used on its own, or as part of an aerolab-buildenv script, or in combination with aerolab commands.

Usage

./runme.sh

Usage: ./runme.sh start|stop|destroy|run|get

  run     - create and start LDAP stack
  start   - start an existing, stopped, LDAP stack
  stop    - stop a running LDAP stack, without destroying it
  get     - get the IPs of LDAP stack
  help    - get a list of useful commands for cli ldapsearch
  destroy - stop and destroy the LDAP stack

Getting started

Clone the repo

git clone https://github.com/aerospike/aerolab.git

Enter the directory

cd aerolab/scripts/aerolab-ldap

Get usage help

./runme.sh

Run new LDAP server with LDAP admin

./runme.sh run

Destroy

./runme.sh destroy

Notes

Advanced

Export/Import

From the ldap-admin UI you can export ldif files. You can then import those files by putting your definitions in the ldif/ directory. These will be automatically deployed when you do the run command again.