Skip to content
Snippets Groups Projects
Commit d515b917 authored by Pierangelo Masarati's avatar Pierangelo Masarati
Browse files

compare on operational attribute

parent 0c601c5d
No related branches found
No related tags found
No related merge requests found
......@@ -467,6 +467,25 @@ case $RC in
;;
esac
echo -n "Testing compare on hasSubordinates (should be TRUE)... "
$LDAPCOMPARE -h $LOCALHOST -p $PORT1 "$BASEDN" \
"hasSubordinates:TRUE" >> $TESTOUT 2>&1
RC=$?
case $RC in
6)
echo "TRUE"
;;
5) echo "FALSE!"
test $KILLSERVERS != no && kill -HUP $KILLPIDS
exit $RC
;;
*) echo "failed ($RC)!"
test $KILLSERVERS != no && kill -HUP $KILLPIDS
exit $RC
;;
esac
echo "Filtering ldapsearch results..."
. $LDIFFILTER < $SEARCHOUT > $SEARCHFLT
echo "Filtering original ldif..."
......
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