sort: enable custom behaviour on critical control
authorGarming Sam <garming@catalyst.net.nz>
Thu, 10 Mar 2016 02:25:44 +0000 (15:25 +1300)
committerAndrew Bartlett <abartlet@samba.org>
Tue, 22 Mar 2016 07:00:31 +0000 (08:00 +0100)
commitcd594a3cb384e8628d8f8bd62c64e1531fc68778
treecb1764e4ef77fac7e4d5a5228b31de583a56009b
parenta3ffac33f27b7b0cd6875eab0ae93b6f9e9a3015
sort: enable custom behaviour on critical control

The sort module should simply return unsorted results when a sort is
unsupported but not critical. A similar custom behaviour should be
expected with VLV pagination when it is enabled.

Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
lib/ldb/modules/sort.c
source4/dsdb/samdb/ldb_modules/rootdse.c