We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4d16b90 commit dda1cebCopy full SHA for dda1ceb
image/service/slapd/startup.sh
@@ -294,7 +294,7 @@ EOF
294
disableReplication || true
295
296
i=1
297
- for host in $(complex-bash-env iterate "${LDAP_REPLICATION_HOSTS}")
+ for host in $(complex-bash-env iterate LDAP_REPLICATION_HOSTS)
298
do
299
sed -i "s|{{ LDAP_REPLICATION_HOSTS }}|olcServerID: $i ${host}\n{{ LDAP_REPLICATION_HOSTS }}|g" ${CONTAINER_SERVICE_DIR}/slapd/assets/config/replication/replication-enable.ldif
300
sed -i "s|{{ LDAP_REPLICATION_HOSTS_CONFIG_SYNC_REPL }}|olcSyncRepl: rid=00$i provider=${host} ${LDAP_REPLICATION_CONFIG_SYNCPROV}\n{{ LDAP_REPLICATION_HOSTS_CONFIG_SYNC_REPL }}|g" ${CONTAINER_SERVICE_DIR}/slapd/assets/config/replication/replication-enable.ldif
0 commit comments