|
|
|
@@ -103,41 +103,42 @@ Add --env LDAP_TLS=0 to the run command: `podman run -e LDAP_TLS=0 ...`
|
|
|
|
|
|
|
|
|
|
## Supported environment variables:
|
|
|
|
|
### Generic variables:
|
|
|
|
|
- `DEBUG=[0|1]` Enables "set -x" in the entrypoint script
|
|
|
|
|
- `TZ` Timezone to use in the container
|
|
|
|
|
- `DEBUG=[0|1]` Enables "set -x" in the entrypoint script
|
|
|
|
|
- `TZ` Timezone to use in the container
|
|
|
|
|
|
|
|
|
|
### Variables for new database:
|
|
|
|
|
- `LDAP_DOMAIN` Ldap domain. Defaults to `example.org`
|
|
|
|
|
- `LDAP_BASE_DN` Ldap base DN. If empty automatically set from `LDAP_DOMAIN` value. Defaults to (`empty`)
|
|
|
|
|
- `LDAP_ORGANISATION` Organisation name. Defaults to `Example Inc.`
|
|
|
|
|
- `LDAP_ADMIN_PASSWORD` Ldap admin password. It's required to supply one if no database exists at startup.
|
|
|
|
|
- `LDAP_CONFIG_PASSWORD` Ldap config password. It's required to supply one if no database exists at startup.
|
|
|
|
|
- `LDAP_BACKEND` Database backend, defaults to `mdb`
|
|
|
|
|
- `LDAP_SEED_LDIF_PATH` Path with additional ldif files which will be loaded
|
|
|
|
|
- `LDAP_SEED_SCHEMA_PATH` Path with additional schema which will be loaded
|
|
|
|
|
- `LDAP_DOMAIN` Ldap domain. Defaults to `example.org`
|
|
|
|
|
- `LDAP_BASE_DN` Ldap base DN. If empty automatically set from `LDAP_DOMAIN` value. Defaults to (`empty`)
|
|
|
|
|
- `LDAP_ORGANIZATION` Organization name. Defaults to `Example Inc.`
|
|
|
|
|
- `LDAP_ADMIN_PASSWORD` Ldap admin password. It's required to supply one if no database exists at startup.
|
|
|
|
|
- `LDAP_CONFIG_PASSWORD` Ldap config password. It's required to supply one if no database exists at startup.
|
|
|
|
|
- `LDAP_BACKEND` Database backend, defaults to `mdb`
|
|
|
|
|
- `LDAP_SEED_LDIF_PATH` Path with additional ldif files which will be loaded
|
|
|
|
|
- `LDAP_SEED_SCHEMA_PATH` Path with additional schema which will be loaded
|
|
|
|
|
|
|
|
|
|
### Variables for TLS:
|
|
|
|
|
- `LDAP_TLS=[1|0]` Enable TLS. Defaults to `1` (true).
|
|
|
|
|
- `LDAP_TLS_CA_CRT` LDAP ssl CA certificate. Defaults to `/etc/openldap/certs/ca.crt`.
|
|
|
|
|
- `LDAP_TLS_CA_KEY` Private LDAP CA key. Defaults to `/etc/openldap/certs/ca.key`.
|
|
|
|
|
- `LDAP_TLS_CRT` LDAP ssl certificate. Defaults to `/etc/openldap/certs/tls.crt`.
|
|
|
|
|
- `LDAP_TLS_KEY` Private LDAP ssl key. Defaults to `/etc/openldap/certs/tls.key`.
|
|
|
|
|
- `LDAP_TLS_DH_PARAM` LDAP ssl certificate dh param file.
|
|
|
|
|
- `LDAP_TLS_ENFORCE=[0|1]` Enforce TLS but except ldapi connections. Defaults to `0` (false).
|
|
|
|
|
- `LDAP_TLS_CIPHER_SUITE` TLS cipher suite.
|
|
|
|
|
- `LDAP_TLS_VERIFY_CLIENT` TLS verify client. Defaults to `demand`.
|
|
|
|
|
- `LDAP_TLS=[1|0]` Enable TLS. Defaults to `1` (true).
|
|
|
|
|
- `LDAP_TLS_CA_CRT` LDAP ssl CA certificate. Defaults to `/etc/openldap/certs/openldap-ca.crt`.
|
|
|
|
|
- `LDAP_TLS_CA_KEY` Private LDAP CA key. Defaults to `/etc/openldap/certs/openldap-ca.key`.
|
|
|
|
|
- `LDAP_TLS_CRT` LDAP ssl certificate. Defaults to `/etc/openldap/certs/tls.crt`.
|
|
|
|
|
- `LDAP_TLS_KEY` Private LDAP ssl key. Defaults to `/etc/openldap/certs/tls.key`.
|
|
|
|
|
- `LDAP_TLS_DH_PARAM` LDAP ssl certificate dh param file.
|
|
|
|
|
- `LDAP_TLS_ENFORCE=[0|1]` Enforce TLS but except ldapi connections. Defaults to `0` (false).
|
|
|
|
|
- `LDAP_TLS_CIPHER_SUITE` TLS cipher suite.
|
|
|
|
|
- `LDAP_TLS_VERIFY_CLIENT` TLS verify client. Defaults to `demand`.
|
|
|
|
|
|
|
|
|
|
### Various configuration variables:
|
|
|
|
|
- `LDAP_NOFILE` Number of open files (ulimt -n), default `1024`
|
|
|
|
|
- `LDAP_PORT` Port for ldap:///, defaults to `389`
|
|
|
|
|
- `LDAPS_PORT` Port for ldaps:///, defaults to `636`
|
|
|
|
|
- `LDAPI_URL` Ldapi url, defaults to `ldapi:///run/slapd/ldapi`
|
|
|
|
|
- `LDAP_UID` UID of ldap user. All LDAP related files will be changed to this UID
|
|
|
|
|
- `LDAP_GID` GID of ldap group. All LDAP related files will be changed to this GID
|
|
|
|
|
- `LDAP_BACKEND` Database backend, defaults to `mdb`
|
|
|
|
|
- `SLAPD_LOG_LEVEL` Slapd debug devel, defaults to `0`
|
|
|
|
|
- `LDAP_NOFILE` Number of open files (ulimt -n), default `1024`
|
|
|
|
|
- `LDAP_PORT` Port for ldap:///, defaults to `389`
|
|
|
|
|
- `LDAPS_PORT` Port for ldaps:///, defaults to `636`
|
|
|
|
|
- `LDAPI_URL` Ldapi url, defaults to `ldapi:///run/slapd/ldapi`
|
|
|
|
|
- `LDAP_UID` UID of ldap user. All LDAP related files will be changed to this UID
|
|
|
|
|
- `LDAP_GID` GID of ldap group. All LDAP related files will be changed to this GID
|
|
|
|
|
- `LDAP_BACKEND` Database backend, defaults to `mdb`
|
|
|
|
|
- `SLAPD_LOG_LEVEL` Slapd debug devel, defaults to `0`
|
|
|
|
|
- `SETUP_FOR_MAILSERVER` The mail organization will be created (ldif/mailserver/), defaults to `0`
|
|
|
|
|
|
|
|
|
|
## Data persistence volumes
|
|
|
|
|
- `/etc/openldap/certs` TLS certificates for slapd
|
|
|
|
|
- `/etc/openldap/slapd.d` Slapd configuration files
|
|
|
|
|
- `/var/lib/ldap` OpenLDAP database
|
|
|
|
|
- `/etc/openldap/certs` TLS certificates for slapd
|
|
|
|
|
- `/etc/openldap/slapd.d` Slapd configuration files
|
|
|
|
|
- `/var/lib/ldap` OpenLDAP database
|
|
|
|
|