svn commit: samba r2595 - in trunk/source/nsswitch: .
jerry at samba.org
jerry at samba.org
Fri Sep 24 12:36:10 GMT 2004
Author: jerry
Date: 2004-09-24 12:36:08 +0000 (Fri, 24 Sep 2004)
New Revision: 2595
WebSVN: http://websvn.samba.org/websvn/changeset.php?rep=samba&path=/trunk/source/nsswitch&rev=2595&nolog=1
Log:
merging small change from 3.0 -- don't truncate the list of groups returned by wbinfo -r
Modified:
trunk/source/nsswitch/winbindd_group.c
Changeset:
Modified: trunk/source/nsswitch/winbindd_group.c
===================================================================
--- trunk/source/nsswitch/winbindd_group.c 2004-09-24 09:00:56 UTC (rev 2594)
+++ trunk/source/nsswitch/winbindd_group.c 2004-09-24 12:36:08 UTC (rev 2595)
@@ -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