Sign inSign up

patmconnolly/openldap

By patmconnolly

Updated 2 months ago

Basic Installation of OpenLDAP per Quick Start Documentation

Image
0

518

patmconnolly/openldap repository overview

patmconnolly/openldap

Purpose

This repository is designed to host a basic installation of OpenLDAP to be used in testing instances, or for small projects.

Usage

docker run --rm \
-e SUFFIX="dc=example,dc=com" \
-e ROOTDN="cn=Manager,dc=example,dc=com" \
-e ROOTPW="secret" \
-e DEBUGLEVEL="0" \
-v /path/to/database/storage:/usr/local/var/openldap-data \
-v /path/to/config/storage:/usr/local/etc/slapd.d \
-p 389:389 \
patmconnolly/openldap:latest

Variables

VariableDefault ValueRequired (Y/N)Link to Documentation
SUFFIXdc=example,dc=comYQuick Start Guide
ROOTDNcn=Manager,dc=example,dc=comYQuick Start Guide
ROOTPWsecretYQuick Start Guide
DEBUGLEVEL0NRunning slapd

Common Tags

  • Latest will always contain the latest version.
  • Specific versions will also be created with the version as the tag.

GitHub Repository

You can find the dockerfiles in this directory: patmconnolly/DockerImages/OpenLDAP

Next Steps

Once you are running you will need to add your user in per official documentation.

  1. Enter Running Container docker exec -it <container_name> bash
  2. Create LDIF File per official instructions section 11.
  3. Import LDIF file.
  4. exit the running container.

You should now be able to connect to your new database.

If any additions or changes are desired, you can create an issue or submit a Pull Request there.

Tag summary

Content type

Image

Digest

sha256:c0e1af0b9

Size

280 MB

Last updated

2 months ago

docker pull patmconnolly/openldap