mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-30 13:30:57 +08:00
compare on operational attribute
This commit is contained in:
parent
0c601c5db2
commit
d515b91706
@ -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..."
|
||||
|
Loading…
Reference in New Issue
Block a user