git.samba.org
/
metze
/
samba
/
wb-ndr.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
661f8e1
)
using NGROUPS_MAX instead of 32 for the max group value in rep_initgroups() subroutin...
author
Yannick Bergeron
<yaberger@ca.ibm.com>
Fri, 8 Aug 2008 17:32:15 +0000
(13:32 -0400)
committer
Stefan Metzmacher
<metze@samba.org>
Sun, 14 Sep 2008 16:26:59 +0000
(18:26 +0200)
(cherry picked from commit
13b1a232d2fe05ae3e924ea2503d05ff5084146e
)
source/lib/replace/replace.c
patch
|
blob
|
history
diff --git
a/source/lib/replace/replace.c
b/source/lib/replace/replace.c
index 106c9dfe629d464003c20e54dcd38719f2e9f9af..98d799b07e8f3950fe30039da961c6944964c34f 100644
(file)
--- a/
source/lib/replace/replace.c
+++ b/
source/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;