mirror of
https://github.com/osixia/container-openldap.git
synced 2026-09-28 10:05:43 -04:00
tests
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user