Skip to content
Snippets Groups Projects
Commit e4644649 authored by Quanah Gibson-Mount's avatar Quanah Gibson-Mount
Browse files

Add delays to allow refint to complete

parent ed385719
No related branches found
No related tags found
No related merge requests found
......@@ -186,6 +186,10 @@ deleteoldrdn:1
newsuperior: $BASEDN
EOF
# 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
echo "Re-search the entire database..."
echo "# Re-search the entire database..." >> $SEARCHOUT
$LDAPSEARCH -S "" -b "$BASEDN" -h $LOCALHOST -p $PORT1 \
......@@ -208,6 +212,8 @@ deleteoldrdn:1
newsuperior: $BASEDN
EOF
sleep 1
echo "Re-search the entire database..."
echo "# Re-search the entire database..." >> $SEARCHOUT
$LDAPSEARCH -S "" -b "$BASEDN" -h $LOCALHOST -p $PORT1 \
......@@ -227,6 +233,8 @@ dn: cn=Baby Herman,ou=Toons,$BASEDN
changetype: delete
EOF
sleep 1
echo "Re-search the entire database..."
echo "# Re-search the entire database..." >> $SEARCHOUT
$LDAPSEARCH -S "" -b "$BASEDN" -h $LOCALHOST -p $PORT1 \
......
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