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

jerry at samba.org jerry at samba.org
Mon Sep 20 19:20:00 GMT 2004


Author: jerry
Date: 2004-09-20 19:19:59 +0000 (Mon, 20 Sep 2004)
New Revision: 2450

WebSVN: http://websvn.samba.org/websvn/changeset.php?rep=samba&path=/branches/SAMBA_3_0/source/nsswitch&rev=2450&nolog=1

Log:
don't limit the number of groups returned by winbindd_getgroups()
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	2004-09-20 13:17:51 UTC (rev 2449)
+++ branches/SAMBA_3_0/source/nsswitch/winbindd_group.c	2004-09-20 19:19:59 UTC (rev 2450)
@@ -923,14 +923,11 @@
 {
 	int i;
 
-	if ((*num) >= groups_max())
-		return;
-
 	for (i=0; i<*num; i++) {
 		if ((*gids)[i] == gid)
 			return;
 	}
-	
+
 	*gids = Realloc(*gids, (*num+1) * sizeof(gid_t));
 
 	if (*gids == NULL)



More information about the samba-cvs mailing list