1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00

using NGROUPS_MAX instead of 32 for the max group value in rep_initgroups() subroutine in lib/replace/replace.c

(This used to be commit 13b1a232d2)
This commit is contained in:
Yannick Bergeron 2008-08-08 13:32:15 -04:00 committed by Jeremy Allison
parent b67def0a55
commit c66c2b30b8

View File

@ -170,7 +170,7 @@ int rep_initgroups(char *name, gid_t id)
#include <grp.h>
gid_t *grouplst = NULL;
int max_gr = 32;
int max_gr = NGROUPS_MAX;
int ret;
int i,j;
struct group *g;