s4:dsdb:acl_read: Implement "List Object" mode feature
authorStefan Metzmacher <metze@samba.org>
Tue, 13 Oct 2020 10:43:39 +0000 (12:43 +0200)
committerStefan Metzmacher <metze@samba.org>
Wed, 21 Oct 2020 08:48:01 +0000 (08:48 +0000)
commit7223f6453b1b38c933c9480c637ffd06d9f39b97
tree1a72480573178044d055204b790d3a91af3172e0
parentffc0bdc6d49e88da1ee408956365da163ff3e1b2
s4:dsdb:acl_read: Implement "List Object" mode feature

See [MS-ADTS] 5.1.3.3.6 Checking Object Visibility

I tried to avoid any possible overhead for the common cases:

- SEC_ADS_LIST (List Children) is already granted by default
- fDoListObject is off by default

Overhead is only added if the administrator turned on
the fDoListObject feature and removed SEC_ADS_LIST (List Children)
from a parent object.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14531

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Autobuild-User(master): Stefan Metzmacher <metze@samba.org>
Autobuild-Date(master): Wed Oct 21 08:48:02 UTC 2020 on sn-devel-184
selftest/knownfail.d/ldap-acl-visibility [deleted file]
source4/dsdb/samdb/ldb_modules/acl_read.c