diff options
author | Yannick Bergeron <yaberger@ca.ibm.com> | 2008-08-08 13:32:15 -0400 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2008-08-08 12:28:15 -0700 |
commit | c66c2b30b8b7616a4f2d2f31838cae4227b0d8ce (patch) | |
tree | 279455c529e534c8417e5a50f6ed497c75f87506 /source3/lib | |
parent | b67def0a55cfd15bdfca8e22380cc32a654faaba (diff) | |
download | samba-c66c2b30b8b7616a4f2d2f31838cae4227b0d8ce.tar.gz samba-c66c2b30b8b7616a4f2d2f31838cae4227b0d8ce.tar.bz2 samba-c66c2b30b8b7616a4f2d2f31838cae4227b0d8ce.zip |
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 13b1a232d2fe05ae3e924ea2503d05ff5084146e)
Diffstat (limited to 'source3/lib')
-rw-r--r-- | source3/lib/replace/replace.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/replace/replace.c b/source3/lib/replace/replace.c index 106c9dfe62..98d799b07e 100644 --- a/source3/lib/replace/replace.c +++ b/source3/lib/replace/replace.c @@ -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; |