op2.o_hdr = &oh;
op2.o_extra = op->o_extra;
op2.o_callback = &cb;
+ op2.ors_attrs = slap_anlist_all_attributes;
tc.attrs = op->ors_attrs;
op->ors_slimit = SLAP_NO_LIMIT;
exit 1
fi
+echo "Testing search: configured remote filter not requesting filtered attrs..."
+$LDAPSEARCH -H $URI2 -b "o=translucent" "(|(employeeType=foo)(carlicense=right))" cn > $SEARCHOUT 2>&1
+
+ATTR=`grep dn: $SEARCHOUT` > $NOWHERE 2>&1
+if test -z "$ATTR" ; then
+ echo "got no result, should have found entry"
+ test $KILLSERVERS != no && kill -HUP $KILLPIDS
+ exit 1
+fi
+
test $KILLSERVERS != no && kill -HUP $KILLPIDS
echo ">>>>> Test succeeded"