# refint runs in a background thread, so it most likely won't complete
# before the modify returns. Give it some time to execute.
-sleep 1
+sleep $SLEEP0
echo "Re-search the entire database..."
echo "# Re-search the entire database..." >> $SEARCHOUT
newsuperior: $BASEDN
EOF
-sleep 1
+sleep $SLEEP0
echo "Re-search the entire database..."
echo "# Re-search the entire database..." >> $SEARCHOUT
changetype: delete
EOF
-sleep 1
+sleep $SLEEP0
echo "Re-search the entire database..."
echo "# Re-search the entire database..." >> $SEARCHOUT