mirror of
https://github.com/samba-team/samba.git
synced 2025-01-12 09:18:10 +03:00
r13355: check controls are correctly exported
This commit is contained in:
parent
933a80397d
commit
07fa55db32
@ -44,6 +44,13 @@ for p in $PROTOCOLS; do
|
||||
failed=`expr $failed + 1`
|
||||
fi
|
||||
|
||||
echo "Check rootDSE for Controls"
|
||||
nentries=`bin/ldbsearch $options $CONFIGURATION -H $p://$SERVER -s base -b "" '(objectclass=*)' | grep -i supportedControl | wc -l`
|
||||
if [ $nentries -lt 4 ]; then
|
||||
echo "Should have found at least 4 entries"
|
||||
failed=`expr $failed + 1`
|
||||
fi
|
||||
|
||||
echo "Test Paged Results Control"
|
||||
nentries=`bin/ldbsearch $options $CONFIGURATION -H $p://$SERVER --controls=paged_results:1:5 '(objectclass=user)' | grep sAMAccountName | wc -l`
|
||||
if [ $nentries -lt 1 ]; then
|
||||
|
Loading…
Reference in New Issue
Block a user