summaryrefslogtreecommitdiff
path: root/libgpo/gpo_util.c
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2013-12-19 17:29:10 +0100
committerAndreas Schneider <asn@samba.org>2014-01-07 16:59:39 +0100
commitc3f9d9929c494e9f750e0fd02443cc645ca1bba8 (patch)
tree509d37dd9fe21f00693dd6c944c12b92d25a274a /libgpo/gpo_util.c
parenta78b4d4f65e05ad73ed59713f1ce323d176e7b8c (diff)
downloadsamba-c3f9d9929c494e9f750e0fd02443cc645ca1bba8.tar.gz
libgpo: allow to pass down a list of deleted GPOs in gpo_process_gpo_list().
Guenther Signed-off-by: Günther Deschner <gd@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org>
Diffstat (limited to 'libgpo/gpo_util.c')
-rw-r--r--libgpo/gpo_util.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/libgpo/gpo_util.c b/libgpo/gpo_util.c
index b654d4ad584..4d87eb3afca 100644
--- a/libgpo/gpo_util.c
+++ b/libgpo/gpo_util.c
@@ -427,7 +427,8 @@ bool gpo_get_gp_ext_from_gpo(TALLOC_CTX *mem_ctx,
NTSTATUS gpo_process_gpo_list(TALLOC_CTX *mem_ctx,
const struct security_token *token,
- struct GROUP_POLICY_OBJECT *gpo_list,
+ const struct GROUP_POLICY_OBJECT *deleted_gpo_list,
+ const struct GROUP_POLICY_OBJECT *changed_gpo_list,
const char *extensions_guid_filter,
uint32_t flags)
{
@@ -455,8 +456,8 @@ NTSTATUS gpo_process_gpo_list(TALLOC_CTX *mem_ctx,
status = gpext_process_extension(mem_ctx,
flags, token, root_key,
- NULL,
- gpo_list,
+ deleted_gpo_list,
+ changed_gpo_list,
extensions_guid_filter);
talloc_free(reg_ctx);
talloc_free(root_key);