28 May
2005
28 May
'05
8:18 a.m.
On Sat, 2005-05-28 at 07:38, Chris Wakelin wrote:
Looking at the getgroups manpage on Solaris 8, it seems the limit is NGROUPS_MAX which is 16 in this case. The invalid argument return looks like it might be :-
"The getgroups() function will fail if:
EINVAL The value of gidsetsize is non-zero and less than the number of supplementary group IDs set for the calling process.
"
but looking at the 0.99.14 code, I can't see how this can happen. My guess is that the Fedora version will return EINVAL if the number of groups is larger than 16.
If so, this is an OS limit, not a Dovecot one.
As far as I'm aware the groups limit until recently has been 32. In RHEL 4 (and maybe FC3) the limit has been increased (to what number I don't know, but see https://www.redhat.com/archives/taroon-list/2005-May/msg00175.html)
-- Karl Latiss karl@designit.com.au designIT