diff options
author | Günther Deschner <gd@samba.org> | 2013-12-13 15:52:31 +0100 |
---|---|---|
committer | Andreas Schneider <asn@samba.org> | 2013-12-18 14:48:24 +0100 |
commit | 8fef712eff881fdd48cfd656856826c9f014406c (patch) | |
tree | 6abb29aecf612fcaf62bc2e0dbd49734fe57b420 /libgpo/gpext | |
parent | 103e672ef533ad0f4010daa5d3e9183e0894c754 (diff) | |
download | samba-8fef712eff881fdd48cfd656856826c9f014406c.tar.gz samba-8fef712eff881fdd48cfd656856826c9f014406c.tar.xz samba-8fef712eff881fdd48cfd656856826c9f014406c.zip |
libgpo: clean up CSE module api, remove unrequired references to ads_struct.
Guenther
Signed-off-by: Günther Deschner <gd@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
Diffstat (limited to 'libgpo/gpext')
-rw-r--r-- | libgpo/gpext/gpext.c | 3 | ||||
-rw-r--r-- | libgpo/gpext/gpext.h | 6 |
2 files changed, 3 insertions, 6 deletions
diff --git a/libgpo/gpext/gpext.c b/libgpo/gpext/gpext.c index df84475754..8da2c5ea9e 100644 --- a/libgpo/gpext/gpext.c +++ b/libgpo/gpext/gpext.c @@ -733,8 +733,7 @@ NTSTATUS gpext_process_extension(ADS_STRUCT *ads, status = ext->methods->initialize(mem_ctx); NT_STATUS_NOT_OK_RETURN(status); - status = ext->methods->process_group_policy(ads, - mem_ctx, + status = ext->methods->process_group_policy(mem_ctx, flags, root_key, token, diff --git a/libgpo/gpext/gpext.h b/libgpo/gpext/gpext.h index ce999a110e..4cd786e02e 100644 --- a/libgpo/gpext/gpext.h +++ b/libgpo/gpext/gpext.h @@ -61,8 +61,7 @@ struct gp_extension_methods { NTSTATUS (*initialize)(TALLOC_CTX *mem_ctx); - NTSTATUS (*process_group_policy)(ADS_STRUCT *ads, - TALLOC_CTX *mem_ctx, + NTSTATUS (*process_group_policy)(TALLOC_CTX *mem_ctx, uint32_t flags, struct registry_key *root_key, const struct security_token *token, @@ -70,8 +69,7 @@ struct gp_extension_methods { const char *extension_guid, const char *snapin_guid); - NTSTATUS (*process_group_policy2)(ADS_STRUCT *ads, - TALLOC_CTX *mem_ctx, + NTSTATUS (*process_group_policy2)(TALLOC_CTX *mem_ctx, uint32_t flags, const struct security_token *token, struct GROUP_POLICY_OBJECT *gpo_list, |