summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/nsswitch/winbindd_group.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/nsswitch/winbindd_group.c b/source3/nsswitch/winbindd_group.c
index b2a2a9b397..24968db0ce 100644
--- a/source3/nsswitch/winbindd_group.c
+++ b/source3/nsswitch/winbindd_group.c
@@ -1308,8 +1308,8 @@ enum winbindd_result winbindd_getusersids(struct winbindd_cli_state *state)
user_grpsids[num_groups] = &user_sid;
status = domain->methods->lookup_useraliases(domain, mem_ctx,
- num_groups,
- user_grpsids+1,
+ num_groups+1,
+ user_grpsids,
&num_aliases,
&alias_rids);