forked from ungleich-public/cdist
[__openldap_server] Support extra config parameter.
This allows the user to, e.g. manually define ACLs, while this type does not support that.
This commit is contained in:
parent
41e59a748d
commit
056c7c5400
3 changed files with 8 additions and 1 deletions
|
@ -92,6 +92,9 @@ tls-ca
|
||||||
Required if `tls-cert` is defined.
|
Required if `tls-cert` is defined.
|
||||||
Path in the remote hosts to the PEM-encoded CA certificate file.
|
Path in the remote hosts to the PEM-encoded CA certificate file.
|
||||||
|
|
||||||
|
extra-config
|
||||||
|
Custom settings to be added in `slapd.conf(5)`.
|
||||||
|
|
||||||
|
|
||||||
OPTIONAL MULTIPLE PARAMETERS
|
OPTIONAL MULTIPLE PARAMETERS
|
||||||
----------------------------
|
----------------------------
|
||||||
|
|
|
@ -9,6 +9,7 @@ slapd_modules=$(cat "${__object}/parameter/module" 2>/dev/null || true)
|
||||||
schemas=$(cat "${__object}/parameter/schema")
|
schemas=$(cat "${__object}/parameter/schema")
|
||||||
slapd_urls=$(tr '\n' ' ' < "${__object}/parameter/slapd-url")
|
slapd_urls=$(tr '\n' ' ' < "${__object}/parameter/slapd-url")
|
||||||
tls_cipher_suite=$(cat "${__object}/parameter/tls-cipher-suite" 2>/dev/null || true)
|
tls_cipher_suite=$(cat "${__object}/parameter/tls-cipher-suite" 2>/dev/null || true)
|
||||||
|
extra_config=$(cat "${__object}/parameter/extra-config" || true)
|
||||||
|
|
||||||
|
|
||||||
os="$(cat "${__global}/explorer/os")"
|
os="$(cat "${__global}/explorer/os")"
|
||||||
|
@ -231,6 +232,8 @@ index uid,memberUid eq,pres,sub
|
||||||
index nisMapName,nisMapEntry eq,pres,sub
|
index nisMapName,nisMapEntry eq,pres,sub
|
||||||
index entryCSN,entryUUID eq
|
index entryCSN,entryUUID eq
|
||||||
|
|
||||||
|
${extra_config}
|
||||||
|
|
||||||
serverid ${serverid}
|
serverid ${serverid}
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
|
|
|
@ -6,3 +6,4 @@ tls-cipher-suite
|
||||||
tls-cert
|
tls-cert
|
||||||
tls-privkey
|
tls-privkey
|
||||||
tls-ca
|
tls-ca
|
||||||
|
extra-config
|
||||||
|
|
Loading…
Reference in a new issue