Skip to content
Snippets Groups Projects
Commit aff5133b authored by Pierangelo Masarati's avatar Pierangelo Masarati
Browse files

persist looks like a better place to have updates as quickly as possible...

parent dbfc9d1a
No related branches found
No related tags found
No related merge requests found
...@@ -29,6 +29,21 @@ argsfile ./testrun/slapd.4.args ...@@ -29,6 +29,21 @@ argsfile ./testrun/slapd.4.args
#monitormod#moduleload back_monitor.la #monitormod#moduleload back_monitor.la
#syncprovmod#modulepath ../servers/slapd/overlays/ #syncprovmod#modulepath ../servers/slapd/overlays/
#syncprovmod#moduleload syncprov.la #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 # consumer database definitions
......
...@@ -29,21 +29,6 @@ argsfile ./testrun/slapd.2.args ...@@ -29,21 +29,6 @@ argsfile ./testrun/slapd.2.args
#monitormod#moduleload back_monitor.la #monitormod#moduleload back_monitor.la
#syncprovmod#modulepath ../servers/slapd/overlays/ #syncprovmod#modulepath ../servers/slapd/overlays/
#syncprovmod#moduleload syncprov.la #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 # consumer database definitions
......
...@@ -213,24 +213,11 @@ EOMODS ...@@ -213,24 +213,11 @@ EOMODS
RC=$? RC=$?
if test $BACKLDAP = "ldapno" ; then # expect 10 (LDAP_REFERRAL)...
# expect 10 (LDAP_REFERRAL)... if test $RC != 10 ; then
if test $RC != 10 ; then echo "ldapmodify should have failed ($RC)!"
echo "ldapmodify should have failed ($RC)!" test $KILLSERVERS != no && kill -HUP $KILLPIDS
test $KILLSERVERS != no && kill -HUP $KILLPIDS exit $RC
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 fi
echo "Using ldapsearch to read all the entries from the master..." echo "Using ldapsearch to read all the entries from the master..."
......
...@@ -255,11 +255,24 @@ EOMODS ...@@ -255,11 +255,24 @@ EOMODS
RC=$? RC=$?
# expect 10 (LDAP_REFERRAL)... if test $BACKLDAP = "ldapno" ; then
if test $RC != 10 ; then # expect 10 (LDAP_REFERRAL)...
echo "ldapmodify should have failed ($RC)!" if test $RC != 10 ; then
test $KILLSERVERS != no && kill -HUP $KILLPIDS echo "ldapmodify should have failed ($RC)!"
exit $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 fi
echo "Using ldapsearch to read all the entries from the master..." echo "Using ldapsearch to read all the entries from the master..."
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment