summaryrefslogtreecommitdiff
path: root/source3/utils
diff options
context:
space:
mode:
Diffstat (limited to 'source3/utils')
-rw-r--r--source3/utils/net_ads_gpo.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/source3/utils/net_ads_gpo.c b/source3/utils/net_ads_gpo.c
index be018ad78f..0a9e0fb62a 100644
--- a/source3/utils/net_ads_gpo.c
+++ b/source3/utils/net_ads_gpo.c
@@ -111,6 +111,11 @@ static int net_ads_gpo_effective(int argc, const char **argv)
goto out;
}
+ if (!NT_STATUS_IS_OK(result = check_refresh_gpo_list(ads, mem_ctx, gpo_list))) {
+ printf("failed to refresh GPOs: %s\n", nt_errstr(result));
+ goto out;
+ }
+
for (gpo = gpo_list; gpo; gpo = gpo->next) {
char *server, *share, *nt_path, *unix_path;