OpenLdap is a famous implementation of the Lightweight Directory Access Protocol (LDAP) developed by the OpenLDAP Project.
This Dockerfile install on an Alpine image and aims to easily deploy new ldap with a per-formated well tested configuration.
As you probably know, openldap rules are applied in order, so it's quite an headache to change ACL without breaking an other one. That's why we have written unittest to make sure a new change do not breaks other rules.
Please refer to the project home page or the help message from entrypoint:
sudo docker run anybox/openldap -h
Usage: /entrypoint.sh [-C COMMAND [params [params [...]]] [-P Root Password] [-h]
[-u Default administrator uid] [-p Default admin password]
[-L LOG_LEVEL] [-a CA_FILE_PATH] [-D Domain] [-d sub-domain]
[-O Organization]
Wrapper entry point script to setup and run OpenLdap
Options:
-C COMMAND Special command to by pass this entry point, if provide
it run the given command with all given params, it can only
be used alone
-D DOMAIN Define domain, which is used for the ldap configuration,
example.com becomes dc=example,dc=com (default: example.com)
-O ORGANIZATION Name of the organization (default: Example corporation)
-d SUB DOMAIN sub domain to compose the url used to access to to that ldap.
ldaps://ldap.example.com. (default: ldap)
-P PASSWORD Define admin root ldap password, used only while setting up
the ldap config volume (default: {SSHA}q6Sb0dC1lmb9oaSgKMMCWfVeBjHRmzpN).
This can be set using environment LDAP_ROOT_PASSWORD.
use slappasswd -s secret to generate a SSHA password and use
the whole output (ie: {SSHA}TjUaNY5sTf//mwqKl3WeI37NKsa5cTa9)
-u ADMIN UID Default ldap user administrator uid (will be under
uid=administrator,ou=people,dc=example,dc=com)
(default value: administrator)
-p ADMIN PASS Password for given admin uid {SSHA}XbKuVJJrpXKLbzDREX2PaDE88PdxYwlX
(default: {SSHA}XbKuVJJrpXKLbzDREX2PaDE88PdxYwlX)
-L LOG LEVEL ldap deamon log level
Can also be set through environement variable LDAP_LOG_LEVEL
(default: 64)
-a CA FILE ldap Certificate Authority file path
Can also be set through environement variable
LDAP_CA_CERTIFICATE_PATH
(default: false)
-c Certif Certificate file path
Can also be set through environement variable
LDAP_CERTIFICATE_PATH
(default: /ssl/ldap.example.com.crt)
-k Certif Certificate private key file path
Can also be set through environement variable
LDAP_CERTIFICATE_KEY_PATH
(default: /ssl/.example.com.key)
-h Show this help.
Content type
Image
Digest
Size
3.8 MB
Last updated
almost 6 years ago
docker pull anybox/openldap