mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-25 00:59:45 -05:00
forgot to filter original data ...
This commit is contained in:
parent
23be60e73a
commit
ec0ef0f6e7
1 changed files with 7 additions and 7 deletions
|
|
@ -118,8 +118,8 @@ if test $RC != 0 ; then
|
|||
fi
|
||||
|
||||
DN="dc=example,dc=com"
|
||||
echo "Searching database for uniqueMember~=\"$DN\" (approx) ..."
|
||||
echo "# Searching database for uniqueMember~=\"$DN\" (approx) ..." >> $SEARCHOUT
|
||||
echo "Searching database for uniqueMember~=\"$DN\" (approx)..."
|
||||
echo "# Searching database for uniqueMember~=\"$DN\" (approx)..." >> $SEARCHOUT
|
||||
$LDAPSEARCH -b "$BASEDN" -h $LOCALHOST -p $PORT1 \
|
||||
"(uniqueMember~=)" >> $SEARCHOUT 2>&1
|
||||
|
||||
|
|
@ -131,8 +131,8 @@ if test $RC != 0 ; then
|
|||
fi
|
||||
|
||||
DN="dc=example,dc=com#'001000'B"
|
||||
echo "Searching database for uniqueMember~=\"$DN\" (approx) ..."
|
||||
echo "# Searching database for uniqueMember~=\"$DN\" (approx) ..." >> $SEARCHOUT
|
||||
echo "Searching database for uniqueMember~=\"$DN\" (approx)..."
|
||||
echo "# Searching database for uniqueMember~=\"$DN\" (approx)..." >> $SEARCHOUT
|
||||
$LDAPSEARCH -b "$BASEDN" -h $LOCALHOST -p $PORT1 \
|
||||
"(uniqueMember~=$DN)" >> $SEARCHOUT 2>&1
|
||||
|
||||
|
|
@ -145,12 +145,12 @@ fi
|
|||
|
||||
test $KILLSERVERS != no && kill -HUP $KILLPIDS
|
||||
|
||||
LDIFOUT=$DNOUT
|
||||
|
||||
echo "Filtering ldapsearch results..."
|
||||
. $LDIFFILTER < $SEARCHOUT > $SEARCHFLT
|
||||
echo "Filtering original data..."
|
||||
. $LDIFFILTER < $DNOUT > $LDIFFLT
|
||||
echo "Comparing ldapsearch results against original..."
|
||||
$CMP $SEARCHFLT $LDIFOUT > $CMPOUT
|
||||
$CMP $SEARCHFLT $LDIFFLT > $CMPOUT
|
||||
|
||||
if test $? != 0 ; then
|
||||
echo "comparison failed - DN write operations did not complete correctly"
|
||||
|
|
|
|||
Loading…
Reference in a new issue