summaryrefslogtreecommitdiff
path: root/libcli/security/object_tree.c
diff options
context:
space:
mode:
Diffstat (limited to 'libcli/security/object_tree.c')
-rw-r--r--libcli/security/object_tree.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libcli/security/object_tree.c b/libcli/security/object_tree.c
index 6809c8e3452..dcbd310baea 100644
--- a/libcli/security/object_tree.c
+++ b/libcli/security/object_tree.c
@@ -53,6 +53,7 @@ bool insert_in_object_tree(TALLOC_CTX *mem_ctx,
return false;
}
(*root)->guid = *guid;
+ (*root)->remaining_access = init_access;
*new_node = *root;
return true;
}