Skip to content
Snippets Groups Projects
Commit 3b3fec12 authored by nimrod's avatar nimrod
Browse files

Pre-commit fixups.

parent 767b462a
No related branches found
No related tags found
No related merge requests found
Pipeline #2519 passed
......@@ -19,6 +19,7 @@ repos:
rev: v2.1.0
hooks:
- id: codespell
exclude: diff
- repo: https://github.com/Yelp/detect-secrets.git
rev: v1.1.0
......
......@@ -5,7 +5,7 @@
## Environment variables
Name | Description | Default value
\-\-\- | \-\-\- | \-\-\-
--- | --- | ---
`LAM_PASSWORD` | Password for administering LAM | `lam`
`LDAP_URI` | URI of the LDAP service | `ldapi:///`
`LDAP_ADMIN_DN` | DN of the admin account
......
......@@ -12,4 +12,3 @@ $cfg->save();
$conf = new LAMConfig("lam");
$conf->set_Passwd($argv[1]);
$conf->save();
......@@ -11,7 +11,7 @@ daemon. To use this container, execute a different process (like `su` or
## Environment variables
Name | Default value
\-\-\- | \-\-\-
--- | ---
`LDAP_URIS` | `ldapi:///`
`LDAP_AUTH_TYPE` | `none`
`LDAP_BINDDN`
......
......@@ -10,7 +10,7 @@ The container exposes TCP ports 389 (LDAP) and 636 (LDAPS) as well as the
## Environment variables
Name | Description | Default value
\-\-\- | \-\-\- | \-\-\-
--- | --- | ---
`LDAP_URLS` | List of URLs to serve. | `ldap:/// ldapi:/// ldaps:///`
`LDAP_ROOTPASS` | Root password.
`LDAP_DOMAIN` | Domain.
......@@ -30,7 +30,7 @@ provided, those are used instead.
## Persistence
The configuration (`cn=config`) and data LDAP directories reside in the
`config` and `data` diretories respectively in the `/var/lib/ldap` volume.
`config` and `data` directories respectively in the `/var/lib/ldap` volume.
The LDAP directories are generated only if they're missing. Changes to
environment variables afterwards won't change the configuration, since that is
persisted to a volume. There's also the `/var/backups/ldap` volume where the
......
......@@ -109,4 +109,3 @@ olcAccess: to attrs=shadowLastChange
# everyone else can read everything.
olcAccess: to *
by * read
......@@ -7,7 +7,7 @@ unset LDAP_ROOTPASS
export PASSWORD_HASH
# See https://github.com/moby/moby/issues/8231
# shellcheck disable=SC2039
# shellcheck disable=SC3045
ulimit -n 1024 || true
# Base DN.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment