diff options
author | Günther Deschner <gd@samba.org> | 2013-12-10 18:26:51 +0100 |
---|---|---|
committer | Andreas Schneider <asn@samba.org> | 2013-12-12 13:34:50 +0100 |
commit | 24cc4d5ac1a44f66322b3e8bfd17f266fcac0e22 (patch) | |
tree | 06aa32b7323410796c7de85894f8207e2b5a2f13 /source3/utils | |
parent | b756e02ac49bf23b07a0e2b8565177555481418a (diff) | |
download | samba-24cc4d5ac1a44f66322b3e8bfd17f266fcac0e22.tar.gz samba-24cc4d5ac1a44f66322b3e8bfd17f266fcac0e22.tar.xz samba-24cc4d5ac1a44f66322b3e8bfd17f266fcac0e22.zip |
libgpo: remove unused loadparm_context from functions.
Guenther
Signed-off-by: Günther Deschner <gd@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
Diffstat (limited to 'source3/utils')
-rw-r--r-- | source3/utils/net_ads_gpo.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/source3/utils/net_ads_gpo.c b/source3/utils/net_ads_gpo.c index 56451ab11e..7c397e68a0 100644 --- a/source3/utils/net_ads_gpo.c +++ b/source3/utils/net_ads_gpo.c @@ -78,7 +78,7 @@ static int net_ads_gpo_refresh(struct net_context *c, int argc, const char **arg d_printf(_("* fetching token ")); if (uac & UF_WORKSTATION_TRUST_ACCOUNT) { - status = gp_get_machine_token(ads, mem_ctx, NULL, dn, &token); + status = gp_get_machine_token(ads, mem_ctx, dn, &token); } else { status = ads_get_sid_token(ads, mem_ctx, dn, &token); } @@ -101,7 +101,6 @@ static int net_ads_gpo_refresh(struct net_context *c, int argc, const char **arg d_printf(_("* Refreshing Group Policy Data ")); if (!NT_STATUS_IS_OK(result = check_refresh_gpo_list(ads, mem_ctx, cache_path(GPO_CACHE_DIR), - NULL, flags, gpo_list))) { d_printf(_("failed: %s\n"), nt_errstr(result)); @@ -337,7 +336,7 @@ static int net_ads_gpo_list(struct net_context *c, int argc, const char **argv) argv[0], dn); if (uac & UF_WORKSTATION_TRUST_ACCOUNT) { - status = gp_get_machine_token(ads, mem_ctx, NULL, dn, &token); + status = gp_get_machine_token(ads, mem_ctx, dn, &token); } else { status = ads_get_sid_token(ads, mem_ctx, dn, &token); } @@ -420,7 +419,7 @@ static int net_ads_gpo_apply(struct net_context *c, int argc, const char **argv) argv[0], dn); if (uac & UF_WORKSTATION_TRUST_ACCOUNT) { - status = gp_get_machine_token(ads, mem_ctx, NULL, dn, &token); + status = gp_get_machine_token(ads, mem_ctx, dn, &token); } else { status = ads_get_sid_token(ads, mem_ctx, dn, &token); } |