diff options
Diffstat (limited to 'source3')
-rw-r--r-- | source3/auth/server_info.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/auth/server_info.c b/source3/auth/server_info.c index fd2101024f..5b2706a28a 100644 --- a/source3/auth/server_info.c +++ b/source3/auth/server_info.c @@ -269,8 +269,8 @@ static NTSTATUS group_sids_to_info3(struct netr_SamInfo3 *info3, if (info3->base.primary_gid == rid) continue; /* store domain group rid */ - groups->rids[i].rid = rid; - groups->rids[i].attributes = attributes; + groups->rids[groups->count].rid = rid; + groups->rids[groups->count].attributes = attributes; groups->count++; continue; } |