lib/replace/replace.c initgroups() max_gr

yaberger at yaberger at
Tue Mar 25 19:08:41 GMT 2008


I was wondering why max_gr  was set to 32 instead of using the NGROUPS_MAX 
variable, which is usually in limits.h or set to 32 if NGROUPS_MAX isn't 

ie on AIX:


#define NGROUPS_MAX     128             /* max number of supplementary 
group IDs
                                           per process, >= 0 */

the patch if you decide to use the NGROUPS_MAX variable instead of a 
static 32 value


Yannick Bergeron
yaberger at
-------------- next part --------------
A non-text attachment was scrubbed...
Name: samba_3_2_test_rep_initgroups_NGROUPS_MAX-1.patch
Type: application/octet-stream
Size: 590 bytes
Desc: not available
Url :

More information about the samba-technical mailing list