summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/nsswitch/winbindd_util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/nsswitch/winbindd_util.c b/source3/nsswitch/winbindd_util.c
index 6883a86d68..65012e0f1c 100644
--- a/source3/nsswitch/winbindd_util.c
+++ b/source3/nsswitch/winbindd_util.c
@@ -404,7 +404,7 @@ BOOL winbindd_lookup_usergroups(struct winbindd_domain *domain,
/* Query user rids */
- result = cli_samr_query_usergroups(hnd->cli, mem_ctx, &hnd->pol,
+ result = cli_samr_query_usergroups(hnd->cli, mem_ctx, &user_pol,
num_groups, user_groups);
done: