summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYannick Bergeron <yaberger@ca.ibm.com>2008-08-08 13:32:15 -0400
committerStefan Metzmacher <metze@samba.org>2008-09-14 18:26:59 +0200
commit6b7c4413fec1337b843d40c4192ccc7f28df83d5 (patch)
treeb20c867f46d74b7487095ceffe8433d8af83b237
parentb3b28162b66117421996008dce29ca25b342e20a (diff)
downloadsamba-6b7c4413fec1337b843d40c4192ccc7f28df83d5.tar.gz
samba-6b7c4413fec1337b843d40c4192ccc7f28df83d5.tar.bz2
samba-6b7c4413fec1337b843d40c4192ccc7f28df83d5.zip
using NGROUPS_MAX instead of 32 for the max group value in rep_initgroups() subroutine in lib/replace/replace.c
(cherry picked from commit 13b1a232d2fe05ae3e924ea2503d05ff5084146e) (This used to be commit 0d2fb0e280e497094a4c95f8dca1383ee1cfa982)
-rw-r--r--source4/lib/replace/replace.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/lib/replace/replace.c b/source4/lib/replace/replace.c
index 106c9dfe62..98d799b07e 100644
--- a/source4/lib/replace/replace.c
+++ b/source4/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;