This commit is contained in:
Bertrand Gouny
2015-07-16 15:35:51 +02:00
parent 233d171479
commit b7d3d378c0
9 changed files with 30 additions and 22 deletions
+2
View File
@@ -24,3 +24,5 @@ REPLICATION_HDB_SYNCPROV: binddn="cn=admin,$BASE_DN" bindmethod=simple credentia
REPLICATION_HOSTS:
- ldap://ldap.example.org # The order must be the same on all ldap servers
- ldap://ldap2.example.org
IS_REPLICATION_TEST: false
+7 -1
View File
@@ -11,6 +11,12 @@ echo "Kill slapd, pid: $SLAPD_PID"
kill -INT $SLAPD_PID
echo "ok"
sleep 2
sleep 5
# special replication test config
if [ "${IS_REPLICATION_TEST,,}" == "true" ]; then
echo "test wait 10 seconds"
sleep 10
fi
exec /usr/sbin/slapd -h "ldap://$HOSTNAME ldaps://$HOSTNAME ldapi:///" -u openldap -g openldap -d $LDAP_LOG_LEVEL