Sign inSign up

littlefox/openldap

By littlefox

•Updated over 2 years ago

Just alpine with openldap and a sane default config.

Image
0

667

littlefox/openldap repository overview

Basic image based on alpine containing openldap and starting slapd with a sane default configuration

⁠Configuration

You can set the following environment variables

  • LDAP_ROOTDN DN of the root user
  • LDAP_ROOTPW (hashed) password of the root user
  • LDAP_SUFFIX suffix for the database

⁠Persistency

Mount storage to /ldap/data for persistency.

⁠Migration

Create LDIF file, if you were using slapd before, you can use this command: slapcat -f $configfile OR -F $configdir -l backup.ldif

Copy the LDIF file to the running container.

Execute the following in the running container: slapadd -f /slapd.conf -c -v -l backup.ldif

Tag summary

Content type

Image

Digest

sha256:62be6deaa…

Size

8.2 MB

Last updated

over 2 years ago

docker pull littlefox/openldap:2.6-alpine-6