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 commit13b1a232d2
) (This used to be commit0d2fb0e280
)
This commit is contained in:
parent
b3b28162b6
commit
6b7c4413fe
@ -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