summaryrefslogtreecommitdiffstats
path: root/source3/libgpo/gpext/scripts.c
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2013-12-19 14:34:53 +0100
committerAndreas Schneider <asn@samba.org>2014-01-07 16:59:38 +0100
commit1010a011190b04dd2eed86e03b146f157233f084 (patch)
tree8edfcc140b1baa369c6b3e4e47875b363fce8adf /source3/libgpo/gpext/scripts.c
parenta9cb3031bcba1e4f39c71e4e09508e4eec0e833e (diff)
downloadsamba-1010a011190b04dd2eed86e03b146f157233f084.tar.gz
samba-1010a011190b04dd2eed86e03b146f157233f084.tar.xz
samba-1010a011190b04dd2eed86e03b146f157233f084.zip
libgpo: remove extension_guid and snapin_guid (the tool guid) from the process callback.
Guenther Signed-off-by: Günther Deschner <gd@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org>
Diffstat (limited to 'source3/libgpo/gpext/scripts.c')
-rw-r--r--source3/libgpo/gpext/scripts.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/source3/libgpo/gpext/scripts.c b/source3/libgpo/gpext/scripts.c
index 18914cab3d..2d054c1767 100644
--- a/source3/libgpo/gpext/scripts.c
+++ b/source3/libgpo/gpext/scripts.c
@@ -340,9 +340,7 @@ static NTSTATUS scripts_process_group_policy(TALLOC_CTX *mem_ctx,
struct registry_key *root_key,
const struct security_token *token,
struct GROUP_POLICY_OBJECT *deleted_gpo_list,
- struct GROUP_POLICY_OBJECT *changed_gpo_list,
- const char *extension_guid,
- const char *snapin_guid)
+ struct GROUP_POLICY_OBJECT *changed_gpo_list)
{
NTSTATUS status;
WERROR werr;
@@ -373,7 +371,7 @@ static NTSTATUS scripts_process_group_policy(TALLOC_CTX *mem_ctx,
for (gpo = changed_gpo_list; gpo; gpo = gpo->next) {
gpext_debug_header(0, "scripts_process_group_policy", flags,
- gpo, extension_guid, snapin_guid);
+ gpo, GP_EXT_GUID_SCRIPTS, NULL);
status = gpo_get_unix_path(mem_ctx, cache_path(GPO_CACHE_DIR),
gpo, &unix_path);