git.samba.org
/
ira
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
39607c9
)
r23632: Correctly return the new_group list pointer from expand_groups
author
Gerald Carter
<jerry@samba.org>
Wed, 27 Jun 2007 16:52:34 +0000
(16:52 +0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 17:23:38 +0000
(12:23 -0500)
or else getgrnam() always acts like 'winbind expand groups = 1'
(This used to be commit
04ae193ec44c0ecefa64ca44ad0cdb5968087319
)
source3/nsswitch/winbindd_group.c
patch
|
blob
|
history
diff --git
a/source3/nsswitch/winbindd_group.c
b/source3/nsswitch/winbindd_group.c
index 465477cd0e55102e31c761fbd26cda0616213943..2d83dd3870c481d044392ea49df26c7c0db6ebea 100644
(file)
--- 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: