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, 27 Jun 2016 19:55:33 +0000 (21:55 +0200)
commit80b127c13a0592f8f1569c1cf8f356f292971fd6
tree29833e6069d8f5986e0742bcf0f7852d21860d4b
parentd64b51dafe6f4fc71f1c560b62d1130bca70e202
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