diff options
-rw-r--r-- | libcli/security/object_tree.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libcli/security/object_tree.c b/libcli/security/object_tree.c index a629177936..fb523be4a5 100644 --- a/libcli/security/object_tree.c +++ b/libcli/security/object_tree.c @@ -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; } |