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:
@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user