mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-28 10:39:34 -05:00
persist looks like a better place to have updates as quickly as possible...
This commit is contained in:
parent
dbfc9d1a16
commit
aff5133b89
4 changed files with 38 additions and 38 deletions
|
|
@ -29,6 +29,21 @@ argsfile ./testrun/slapd.4.args
|
|||
#monitormod#moduleload back_monitor.la
|
||||
#syncprovmod#modulepath ../servers/slapd/overlays/
|
||||
#syncprovmod#moduleload syncprov.la
|
||||
#ldapmod#modulepath ../servers/slapd/back-ldap/
|
||||
#ldapmod#moduleload back_ldap.la
|
||||
|
||||
#ldapyes#overlay chain
|
||||
#ldapyes#chain-uri @URI1@
|
||||
#ldapyes#chain-idassert-method "simple"
|
||||
#ldapyes#chain-idassert-authcDN "cn=Manager,dc=example,dc=com"
|
||||
#ldapyes#chain-idassert-passwd secret
|
||||
#ldapyes#chain-idassert-mode self
|
||||
#ldapmod#overlay chain
|
||||
#ldapmod#chain-uri @URI1@
|
||||
#ldapmod#chain-idassert-method "simple"
|
||||
#ldapmod#chain-idassert-authcDN "cn=Manager,dc=example,dc=com"
|
||||
#ldapmod#chain-idassert-passwd secret
|
||||
#ldapmod#chain-idassert-mode self
|
||||
|
||||
#######################################################################
|
||||
# consumer database definitions
|
||||
|
|
|
|||
|
|
@ -29,21 +29,6 @@ argsfile ./testrun/slapd.2.args
|
|||
#monitormod#moduleload back_monitor.la
|
||||
#syncprovmod#modulepath ../servers/slapd/overlays/
|
||||
#syncprovmod#moduleload syncprov.la
|
||||
#ldapmod#modulepath ../servers/slapd/back-ldap/
|
||||
#ldapmod#moduleload back_ldap.la
|
||||
|
||||
#ldapyes#overlay chain
|
||||
#ldapyes#chain-uri @URI1@
|
||||
#ldapyes#chain-idassert-method "simple"
|
||||
#ldapyes#chain-idassert-authcDN "cn=Manager,dc=example,dc=com"
|
||||
#ldapyes#chain-idassert-passwd secret
|
||||
#ldapyes#chain-idassert-mode self
|
||||
#ldapmod#overlay chain
|
||||
#ldapmod#chain-uri @URI1@
|
||||
#ldapmod#chain-idassert-method "simple"
|
||||
#ldapmod#chain-idassert-authcDN "cn=Manager,dc=example,dc=com"
|
||||
#ldapmod#chain-idassert-passwd secret
|
||||
#ldapmod#chain-idassert-mode self
|
||||
|
||||
#######################################################################
|
||||
# consumer database definitions
|
||||
|
|
|
|||
|
|
@ -213,24 +213,11 @@ EOMODS
|
|||
|
||||
RC=$?
|
||||
|
||||
if test $BACKLDAP = "ldapno" ; then
|
||||
# expect 10 (LDAP_REFERRAL)...
|
||||
if test $RC != 10 ; then
|
||||
echo "ldapmodify should have failed ($RC)!"
|
||||
test $KILLSERVERS != no && kill -HUP $KILLPIDS
|
||||
exit $RC
|
||||
fi
|
||||
|
||||
else
|
||||
# expect 0 (LDAP_SUCCESS)...
|
||||
if test $RC != 0 ; then
|
||||
echo "ldapmodify failed ($RC)!"
|
||||
test $KILLSERVERS != no && kill -HUP $KILLPIDS
|
||||
exit $RC
|
||||
fi
|
||||
|
||||
echo "Waiting 5 seconds for slurpd to send changes..."
|
||||
sleep 5
|
||||
# expect 10 (LDAP_REFERRAL)...
|
||||
if test $RC != 10 ; then
|
||||
echo "ldapmodify should have failed ($RC)!"
|
||||
test $KILLSERVERS != no && kill -HUP $KILLPIDS
|
||||
exit $RC
|
||||
fi
|
||||
|
||||
echo "Using ldapsearch to read all the entries from the master..."
|
||||
|
|
|
|||
|
|
@ -255,11 +255,24 @@ EOMODS
|
|||
|
||||
RC=$?
|
||||
|
||||
# expect 10 (LDAP_REFERRAL)...
|
||||
if test $RC != 10 ; then
|
||||
echo "ldapmodify should have failed ($RC)!"
|
||||
test $KILLSERVERS != no && kill -HUP $KILLPIDS
|
||||
exit $RC
|
||||
if test $BACKLDAP = "ldapno" ; then
|
||||
# expect 10 (LDAP_REFERRAL)...
|
||||
if test $RC != 10 ; then
|
||||
echo "ldapmodify should have failed ($RC)!"
|
||||
test $KILLSERVERS != no && kill -HUP $KILLPIDS
|
||||
exit $RC
|
||||
fi
|
||||
|
||||
else
|
||||
# expect 0 (LDAP_SUCCESS)...
|
||||
if test $RC != 0 ; then
|
||||
echo "ldapmodify failed ($RC)!"
|
||||
test $KILLSERVERS != no && kill -HUP $KILLPIDS
|
||||
exit $RC
|
||||
fi
|
||||
|
||||
echo "Waiting 5 seconds for slurpd to send changes..."
|
||||
sleep 5
|
||||
fi
|
||||
|
||||
echo "Using ldapsearch to read all the entries from the master..."
|
||||
|
|
|
|||
Loading…
Reference in a new issue