dsdb: Cache the result of checking the parent ACL
authorAndrew Bartlett <abartlet@samba.org>
Tue, 13 Jun 2017 02:26:49 +0000 (14:26 +1200)
committerAndrew Bartlett <abartlet@samba.org>
Fri, 16 Jun 2017 01:21:29 +0000 (03:21 +0200)
commitf7bcf7b972044ae0749e567a16d222d218ffaf5f
treeaa72f5604bf8ab13b3c7a7a905fca24fa628197b
parentdda4c891268e79b3aba317fae93ca0eacc2fcdd5
dsdb: Cache the result of checking the parent ACL

This should help a lot for large one-level searches and for subtree searches that are of
flat tree structures

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
source4/dsdb/samdb/ldb_modules/acl_read.c