DN="cn=Mark Elliot,ou=Alumni Association,ou=People,$BASEDN"
echo "Comparing \"$DN\" on port $P..."
- $LDAPCOMPARE -h $LOCALHOST -p $P "$DN" "cn:Mark Elliot"
+ $LDAPCOMPARE -h $LOCALHOST -p $P "$DN" "cn:Mark Elliot" \
> $TESTOUT 2>&1
RC=$?
- if test $RC != 0 ; then
+ if test $RC != 6 ; then
echo "ldapcompare failed ($RC)!"
test $KILLSERVERS != no && kill -HUP $KILLPIDS
exit $RC
DN="ou=Other,$BASEDN"
echo "Comparing \"$DN\" on port $P with manageDSAit control..."
- $LDAPCOMPARE -h $LOCALHOST -p $P -M "$DN" "ou:Other"
+ $LDAPCOMPARE -h $LOCALHOST -p $P -M "$DN" "ou:Other" \
> $TESTOUT 2>&1
RC=$?
- if test $RC != 0 ; then
+ if test $RC != 6 ; then
echo "ldapcompare failed ($RC)!"
test $KILLSERVERS != no && kill -HUP $KILLPIDS
exit $RC