diff options
author | Günther Deschner <gd@samba.org> | 2009-04-20 23:38:11 +0200 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2009-04-20 23:38:11 +0200 |
commit | 6fc40ce0d3b1bdfe9a138db4953896f47094424e (patch) | |
tree | e991bd6772ac724a85d71a7117eac7000f1171b8 /source3/libgpo/gpext/scripts.c | |
parent | 7010365e9ac5f9a285b5ad7b660a3c49ff0e8c17 (diff) | |
download | samba-6fc40ce0d3b1bdfe9a138db4953896f47094424e.tar.gz samba-6fc40ce0d3b1bdfe9a138db4953896f47094424e.tar.bz2 samba-6fc40ce0d3b1bdfe9a138db4953896f47094424e.zip |
libgpo: fix the build of gpext plugins.
Guenther
Diffstat (limited to 'source3/libgpo/gpext/scripts.c')
-rw-r--r-- | source3/libgpo/gpext/scripts.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/libgpo/gpext/scripts.c b/source3/libgpo/gpext/scripts.c index 4ced3abda5..43f9b3afb5 100644 --- a/source3/libgpo/gpext/scripts.c +++ b/source3/libgpo/gpext/scripts.c @@ -130,9 +130,9 @@ static NTSTATUS scripts_parse_ini_section(struct gp_inifile_context *ini_ctx, while (1) { const char *key = NULL; - const char *script = NULL; + char *script = NULL; const char *count = NULL; - const char *parameters = NULL; + char *parameters = NULL; count = talloc_asprintf(ini_ctx->mem_ctx, "%d", i); NT_STATUS_HAVE_NO_MEMORY(count); @@ -354,7 +354,7 @@ static NTSTATUS scripts_process_group_policy(ADS_STRUCT *ads, debug_gpext_header(0, "scripts_process_group_policy", flags, gpo, extension_guid, snapin_guid); - status = gpo_get_unix_path(mem_ctx, gpo, &unix_path); + status = gpo_get_unix_path(mem_ctx, cache_path(GPO_CACHE_DIR), gpo, &unix_path); NT_STATUS_NOT_OK_RETURN(status); status = gp_inifile_init_context(mem_ctx, flags, unix_path, |