TODO breaks tests libcli/security: fix the CREATOR_OWNER order in calculate_inherited...
authorStefan Metzmacher <metze@samba.org>
Fri, 30 Nov 2012 21:44:58 +0000 (22:44 +0100)
committerStefan Metzmacher <metze@samba.org>
Mon, 18 Feb 2019 10:31:19 +0000 (11:31 +0100)
commit23df7d8583dd3edc4a293e79697ce6ef1e17902d
treef2ba854dd9215ade9a605caaac052a591c26c2ca
parentb5392b53f566c0fc5e5878b357c0f36d20b9c3f4
TODO breaks tests libcli/security: fix the CREATOR_OWNER order in calculate_inherited_from_parent()

The inherited object/container specific CREATOR_OWNER ace should be inserted
before the generic CREATOR_OWNER ace.

This also matches the behavior of a Windows (2008R2) DC
for active directory SDs and also matches the logic for filesystem SDs,
see se_create_child_secdesc().

Signed-off-by: Stefan Metzmacher <metze@samba.org>
libcli/security/create_descriptor.c