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:
parent
b67def0a55
commit
c66c2b30b8
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user