1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-26 10:04:02 +03:00

r23632: Correctly return the new_group list pointer from expand_groups

or else getgrnam() always  acts like 'winbind expand groups = 1'
(This used to be commit 04ae193ec44c0ecefa64ca44ad0cdb5968087319)
This commit is contained in:
Gerald Carter 2007-06-27 16:52:34 +00:00 committed by Gerald (Jerry) Carter
parent 39607c9129
commit e10258ff05

View File

@ -456,7 +456,7 @@ static NTSTATUS expand_groups( TALLOC_CTX *ctx,
TALLOC_FREE( tmp_ctx );
}
new_glist = &new_groups;
*new_glist = new_groups;
*n_new_glist = (uint32)new_groups_size;
out: