git.samba.org
/
sfrench
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
91b40e2
)
r19272: Ensure we return 1 member in the optimized case.
author
Jeremy Allison
<jra@samba.org>
Sat, 14 Oct 2006 01:57:59 +0000
(
01:57
+0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 17:15:28 +0000
(12:15 -0500)
source/nsswitch/winbindd_group.c
patch
|
blob
|
history
diff --git
a/source/nsswitch/winbindd_group.c
b/source/nsswitch/winbindd_group.c
index 79d8e2970ed002b083fa0d108944cf1eefbb18ea..c838db923c2b1e0cae60ca41cb9eba8804936c9d 100644
(file)
--- a/
source/nsswitch/winbindd_group.c
+++ b/
source/nsswitch/winbindd_group.c
@@
-205,6
+205,7
@@
static BOOL fill_grent_mem(struct winbindd_domain *domain,
*gr_mem = buf;
*gr_mem_len = buf_len;
+ *num_gr_mem = 1;
DEBUG(10, ("num_mem = %u, len = %u, mem = %s\n", (unsigned int)*num_gr_mem,
(unsigned int)buf_len, *num_gr_mem ? buf : "NULL"));