diff options
author | Stefan Metzmacher <metze@samba.org> | 2013-01-15 19:03:00 +0100 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2013-01-21 16:12:45 +0100 |
commit | 853ecd418afe15973d3e8844ad0e01d3d54536d5 (patch) | |
tree | 2e24351641ae8e74415bce883f05c7ab2ed1866a /libcli/security | |
parent | 5b4e3de2bb25eeb85d72a886386c853cea3e9468 (diff) | |
download | samba-853ecd418afe15973d3e8844ad0e01d3d54536d5.tar.gz samba-853ecd418afe15973d3e8844ad0e01d3d54536d5.tar.bz2 samba-853ecd418afe15973d3e8844ad0e01d3d54536d5.zip |
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>
Diffstat (limited to 'libcli/security')
-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; } |