1
0
mirror of https://github.com/samba-team/samba.git synced 2025-08-26 01:49:31 +03:00

libcli/security: add init_mask to existing children in insert_in_object_tree

Signed-off-by: Stefan Metzmacher <metze@samba.org>

Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
Stefan Metzmacher
2013-01-15 19:03:00 +01:00
parent 5b4e3de2bb
commit 853ecd418a

View File

@ -61,6 +61,7 @@ bool insert_in_object_tree(TALLOC_CTX *mem_ctx,
for (i = 0; i < root->num_of_children; i++) {
if (GUID_equal(&root->children[i].guid, guid)) {
new_node = &root->children[i];
new_node->remaining_access |= init_access;
*new_node_out = new_node;
return true;
}