svn commit: samba r19272 - in branches/SAMBA_3_0/source/nsswitch: .

jra at samba.org jra at samba.org
Sat Oct 14 01:58:00 GMT 2006


Author: jra
Date: 2006-10-14 01:57:59 +0000 (Sat, 14 Oct 2006)
New Revision: 19272

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=19272

Log:
Ensure we return 1 member in the optimized case.

Modified:
   branches/SAMBA_3_0/source/nsswitch/winbindd_group.c


Changeset:
Modified: branches/SAMBA_3_0/source/nsswitch/winbindd_group.c
===================================================================
--- branches/SAMBA_3_0/source/nsswitch/winbindd_group.c	2006-10-14 00:33:03 UTC (rev 19271)
+++ branches/SAMBA_3_0/source/nsswitch/winbindd_group.c	2006-10-14 01:57:59 UTC (rev 19272)
@@ -205,6 +205,7 @@
 		
 		*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")); 



More information about the samba-cvs mailing list