Bug 11456 - Allow configuration of MAX_GID_LIST
Allow configuration of MAX_GID_LIST
Status: RESOLVED FIXED
Product: rsync
Classification: Unclassified
Component: core
3.1.2
All All
: P5 enhancement
: ---
Assigned To: Wayne Davison
Rsync QA Contact
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2015-08-18 16:36 UTC by Jason Heiss
Modified: 2015-08-24 19:05 UTC (History)
1 user (show)

See Also:


Attachments

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.