diff options
author | Günther Deschner <gd@samba.org> | 2007-07-09 15:48:17 +0000 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2007-07-09 15:48:17 +0000 |
commit | 103c3e63ebab88ff0b759c622dc75d0f381b51bd (patch) | |
tree | 65941cfd133b436314be9f13772508a89bcd359e /source/utils/net_ads_gpo.c | |
parent | b8fc13efdae1ab600ffc543f5ac3449d0ef2e3c9 (diff) | |
download | samba-103c3e63ebab88ff0b759c622dc75d0f381b51bd.tar.gz samba-103c3e63ebab88ff0b759c622dc75d0f381b51bd.tar.xz samba-103c3e63ebab88ff0b759c622dc75d0f381b51bd.zip |
r23770: Some minor cleanups in libgpo
(including some valgrind errors, uninitialized vars, etc.)
Guenther
Diffstat (limited to 'source/utils/net_ads_gpo.c')
-rw-r--r-- | source/utils/net_ads_gpo.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/utils/net_ads_gpo.c b/source/utils/net_ads_gpo.c index 83cc2fe8fcf..0dfba5f4e8c 100644 --- a/source/utils/net_ads_gpo.c +++ b/source/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)); } |