mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
Test the behaviour of mixed domain_scope and search_options controls.
Andrew Bartlett
(This used to be commit 89053bc564
)
This commit is contained in:
parent
0ec60cfd83
commit
85c7021216
@ -108,5 +108,12 @@ echo "Search Options Control Query test returned 0 items"
|
||||
failed=`expr $failed + 1`
|
||||
fi
|
||||
|
||||
echo "Test Search Options Control with Domain Scope Control"
|
||||
nentries=`bin/ldbsearch $options $CONFIGURATION -H $p://$SERVER --controls=search_options:1:2,domain_scope:1 '(objectclass=crossRef)' | grep crossRef | wc -l`
|
||||
if [ $nentries -lt 1 ]; then
|
||||
echo "Search Options Control Query test returned 0 items"
|
||||
failed=`expr $failed + 1`
|
||||
fi
|
||||
|
||||
|
||||
exit $failed
|
||||
|
Loading…
Reference in New Issue
Block a user