CVE-2018-10919 acl_read: Split access_mask logic out into helper function
commit03950558a4566c4044e374d37f2b8f5a80005bf6
authorTim Beale <timbeale@catalyst.net.nz>
Fri, 20 Jul 2018 01:52:24 +0000 (20 13:52 +1200)
committerStefan Metzmacher <metze@samba.org>
Tue, 14 Aug 2018 15:42:13 +0000 (14 17:42 +0200)
tree035675e8b585f612791944154fdc32866f5ce364
parent605a7f3b3c03e2f1efb49f5dea400a38a03339f9
CVE-2018-10919 acl_read: Split access_mask logic out into helper function

So we can re-use the same logic laster for checking the search-ops.

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

Signed-off-by: Tim Beale <timbeale@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
source4/dsdb/samdb/ldb_modules/acl_read.c