summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2007-06-27 16:52:34 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:23:38 -0500
commite10258ff054c4b016d89ca4f4468f8f4461f5aca (patch)
treefd380d5665248a7b057f8b35f93e37bf14784d53 /source3
parent39607c9129a0a07464c52c4fedbaabbe3ff8acee (diff)
downloadsamba-e10258ff054c4b016d89ca4f4468f8f4461f5aca.tar.gz
samba-e10258ff054c4b016d89ca4f4468f8f4461f5aca.tar.bz2
samba-e10258ff054c4b016d89ca4f4468f8f4461f5aca.zip
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)
Diffstat (limited to 'source3')
-rw-r--r--source3/nsswitch/winbindd_group.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/nsswitch/winbindd_group.c b/source3/nsswitch/winbindd_group.c
index 465477cd0e..2d83dd3870 100644
--- a/source3/nsswitch/winbindd_group.c
+++ b/source3/nsswitch/winbindd_group.c
@@ -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: