# - start slurpd
# - populate over ldap
# - perform some modifies and deleted
+# - attempt to modify the slave (referral or chain)
# - retrieve database over ldap and compare against expected results
#
echo "Waiting 15 seconds for slurpd to send changes..."
sleep 15
-echo "Try updating the slave..."
+echo "Try updating the slave slapd..."
$LDAPMODIFY -v -D "$MANAGERDN" -h $LOCALHOST -p $PORT2 -w $PASSWD > \
$TESTOUT 2>&1 << EOMODS
dn: cn=James A Jones 1, ou=Alumni Association, ou=People, dc=example, dc=com
# - start slave
# - populate over ldap
# - perform some modifies and deleted
+# - attempt to modify the slave (referral)
# - retrieve database over ldap and compare against expected results
#
echo "Waiting 15 seconds for syncrepl to receive changes..."
sleep 15
-echo "Try updating the slave..."
+echo "Try updating the slave slapd..."
$LDAPMODIFY -v -D "$MANAGERDN" -h $LOCALHOST -p $PORT2 -w $PASSWD > \
$TESTOUT 2>&1 << EOMODS
dn: cn=James A Jones 1, ou=Alumni Association, ou=People, dc=example, dc=com
# - start slave
# - populate over ldap
# - perform some modifies and deleted
+# - attempt to modify the slave (referral or chain)
# - retrieve database over ldap and compare against expected results
#
echo "Waiting 25 seconds for syncrepl to receive changes..."
sleep 25
-echo "Try updating the slave..."
+echo "Try updating the slave slapd..."
$LDAPMODIFY -v -D "$MANAGERDN" -h $LOCALHOST -p $PORT4 -w $PASSWD > \
$TESTOUT 2>&1 << EOMODS
dn: cn=James A Jones 1, ou=Alumni Association, ou=People, dc=example, dc=com
exit $RC
fi
- echo "Waiting 5 seconds for slurpd to send changes..."
+ echo "Waiting 5 seconds for syncrepl to send changes..."
sleep 5
fi