mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-21 07:09:34 -05:00
Add delays to allow refint to complete
This commit is contained in:
parent
0f5378c8f7
commit
52cb7af2f6
1 changed files with 8 additions and 0 deletions
|
|
@ -186,6 +186,10 @@ deleteoldrdn:1
|
||||||
newsuperior: $BASEDN
|
newsuperior: $BASEDN
|
||||||
EOF
|
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..."
|
||||||
echo "# Re-search the entire database..." >> $SEARCHOUT
|
echo "# Re-search the entire database..." >> $SEARCHOUT
|
||||||
$LDAPSEARCH -S "" -b "$BASEDN" -h $LOCALHOST -p $PORT1 \
|
$LDAPSEARCH -S "" -b "$BASEDN" -h $LOCALHOST -p $PORT1 \
|
||||||
|
|
@ -208,6 +212,8 @@ deleteoldrdn:1
|
||||||
newsuperior: $BASEDN
|
newsuperior: $BASEDN
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
|
sleep 1
|
||||||
|
|
||||||
echo "Re-search the entire database..."
|
echo "Re-search the entire database..."
|
||||||
echo "# Re-search the entire database..." >> $SEARCHOUT
|
echo "# Re-search the entire database..." >> $SEARCHOUT
|
||||||
$LDAPSEARCH -S "" -b "$BASEDN" -h $LOCALHOST -p $PORT1 \
|
$LDAPSEARCH -S "" -b "$BASEDN" -h $LOCALHOST -p $PORT1 \
|
||||||
|
|
@ -227,6 +233,8 @@ dn: cn=Baby Herman,ou=Toons,$BASEDN
|
||||||
changetype: delete
|
changetype: delete
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
|
sleep 1
|
||||||
|
|
||||||
echo "Re-search the entire database..."
|
echo "Re-search the entire database..."
|
||||||
echo "# Re-search the entire database..." >> $SEARCHOUT
|
echo "# Re-search the entire database..." >> $SEARCHOUT
|
||||||
$LDAPSEARCH -S "" -b "$BASEDN" -h $LOCALHOST -p $PORT1 \
|
$LDAPSEARCH -S "" -b "$BASEDN" -h $LOCALHOST -p $PORT1 \
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue