diff options
author | Günther Deschner <gd@samba.org> | 2007-07-09 15:48:17 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 12:23:55 -0500 |
commit | 5512dacbca699ab06df045ca7f1253c6a58251af (patch) | |
tree | 2be04741242487cb92981f5e46a1b407a7139814 /source3/utils | |
parent | 5e4962d9e78caab4a4294dd0ae3e4a6caf179d77 (diff) | |
download | samba-5512dacbca699ab06df045ca7f1253c6a58251af.tar.gz samba-5512dacbca699ab06df045ca7f1253c6a58251af.tar.bz2 samba-5512dacbca699ab06df045ca7f1253c6a58251af.zip |
r23770: Some minor cleanups in libgpo
(including some valgrind errors, uninitialized vars, etc.)
Guenther
(This used to be commit 1a2878db2d2fcdc53fa74fea48b82a1903e6a1f1)
Diffstat (limited to 'source3/utils')
-rw-r--r-- | source3/utils/net_ads_gpo.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/utils/net_ads_gpo.c b/source3/utils/net_ads_gpo.c index 83cc2fe8fc..0dfba5f4e8 100644 --- a/source3/utils/net_ads_gpo.c +++ b/source3/utils/net_ads_gpo.c @@ -50,7 +50,7 @@ static int net_ads_gpo_refresh(int argc, const char **argv) LDAPMessage *res = NULL; const char *filter; char *dn = NULL; - struct GROUP_POLICY_OBJECT *gpo_list; + struct GROUP_POLICY_OBJECT *gpo_list = NULL; uint32 uac = 0; uint32 flags = 0; struct GROUP_POLICY_OBJECT *gpo; @@ -127,8 +127,8 @@ static int net_ads_gpo_refresh(int argc, const char **argv) GPO_VERSION_USER(gpo->version), GPO_VERSION_MACHINE(gpo->version)); - result = ads_gpo_explode_filesyspath(ads, mem_ctx, gpo->file_sys_path, - &server, &share, &nt_path, &unix_path); + result = gpo_explode_filesyspath(mem_ctx, gpo->file_sys_path, + &server, &share, &nt_path, &unix_path); if (!NT_STATUS_IS_OK(result)) { printf("got: %s\n", nt_errstr(result)); } |