From 04ae193ec44c0ecefa64ca44ad0cdb5968087319 Mon Sep 17 00:00:00 2001 From: Gerald Carter Date: Wed, 27 Jun 2007 16:52:34 +0000 Subject: [PATCH] r23632: Correctly return the new_group list pointer from expand_groups or else getgrnam() always acts like 'winbind expand groups = 1' --- source/nsswitch/winbindd_group.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/nsswitch/winbindd_group.c b/source/nsswitch/winbindd_group.c index 465477cd0e5..2d83dd3870c 100644 --- a/source/nsswitch/winbindd_group.c +++ b/source/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: -- 2.47.3