summaryrefslogtreecommitdiff
path: root/source3/utils
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2009-04-20 23:38:11 +0200
committerGünther Deschner <gd@samba.org>2009-04-20 23:38:11 +0200
commit6fc40ce0d3b1bdfe9a138db4953896f47094424e (patch)
treee991bd6772ac724a85d71a7117eac7000f1171b8 /source3/utils
parent7010365e9ac5f9a285b5ad7b660a3c49ff0e8c17 (diff)
downloadsamba-6fc40ce0d3b1bdfe9a138db4953896f47094424e.tar.gz
samba-6fc40ce0d3b1bdfe9a138db4953896f47094424e.tar.bz2
samba-6fc40ce0d3b1bdfe9a138db4953896f47094424e.zip
libgpo: fix the build of gpext plugins.
Guenther
Diffstat (limited to 'source3/utils')
-rw-r--r--source3/utils/net_ads_gpo.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/utils/net_ads_gpo.c b/source3/utils/net_ads_gpo.c
index 9e41905d79..7484726e77 100644
--- a/source3/utils/net_ads_gpo.c
+++ b/source3/utils/net_ads_gpo.c
@@ -401,7 +401,7 @@ static int net_ads_gpo_apply(struct net_context *c, int argc, const char **argv)
flags |= GPO_LIST_FLAG_MACHINE;
}
- if (opt_verbose) {
+ if (c->opt_verbose) {
flags |= GPO_INFO_FLAG_VERBOSE;
}
@@ -410,7 +410,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, dn, &token);
+ status = gp_get_machine_token(ads, mem_ctx, NULL, dn, &token);
} else {
status = ads_get_sid_token(ads, mem_ctx, dn, &token);
}