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

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

(cherry picked from commit 13b1a232d2)
(This used to be commit 0d2fb0e280)
This commit is contained in:
Yannick Bergeron 2008-08-08 13:32:15 -04:00 committed by Stefan Metzmacher
parent b3b28162b6
commit 6b7c4413fe

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;