CVE-2018-10919 acl_read: Flip the logic in the dirsync check
authorTim Beale <timbeale@catalyst.net.nz>
Mon, 30 Jul 2018 04:00:15 +0000 (16:00 +1200)
committerKarolin Seeger <kseeger@samba.org>
Sat, 11 Aug 2018 19:56:42 +0000 (21:56 +0200)
commit717bde3288704d501368ca650963e2648d005c55
tree3a82137489db09ddfe2a9cf3f4a02ff184fd73ce
parentdf6c1dbeb27ab4c7dedc2461a9d20a6b67ffdda4
CVE-2018-10919 acl_read: Flip the logic in the dirsync check

This better reflects the special case we're making for dirsync, and gets
rid of a 'if-else' clause.

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

Signed-off-by: Tim Beale <timbeale@catalyst.net.nz>
source4/dsdb/samdb/ldb_modules/acl_read.c