It is strange that sDRightsEffective pays no attention to the
dSHeuristics flags.
BUG: https://bugzilla.samba.org/show_bug.cgi?id=14810
Reviewed-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Fri Sep 16 03:31:42 UTC 2022 on sn-devel-184
if (ret == LDB_SUCCESS) {
flags |= SECINFO_OWNER | SECINFO_GROUP;
}
+
+ /*
+ * This call is made with
+ * IMPLICIT_OWNER_READ_CONTROL_AND_WRITE_DAC_RIGHTS
+ * and without reference to the dSHeuristics via
+ * dsdb_block_owner_implicit_rights(). This is
+ * probably a Windows bug but for now we match
+ * exactly.
+ */
ret = acl_check_access_on_attribute_implicit_owner(
module,
msg,