Bug 11456 - Allow configuration of MAX_GID_LIST
Summary: Allow configuration of MAX_GID_LIST
Alias: None
Product: rsync
Classification: Unclassified
Component: core (show other bugs)
Version: 3.1.2
Hardware: All All
: P5 enhancement (vote)
Target Milestone: ---
Assignee: Wayne Davison
QA Contact: Rsync QA Contact
Depends on:
Reported: 2015-08-18 16:36 UTC by Jason Heiss
Modified: 2015-08-24 19:05 UTC (History)
1 user (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Jason Heiss 2015-08-18 16:36:52 UTC
MAX_GID_LIST is a constant in clientserver.c with a value of 32.  I have users who are in more than 32 groups, resulting in want_all_groups->getallgroups->getgrouplist failing.  I'll just change the constant in my local build for now, but a way to configure the limit would be nice.
Comment 1 Wayne Davison 2015-08-24 19:05:41 UTC
I switched the code from static-sized array to using a dynamic item_list struct, so now the gid lists can be as large as specified.