5 Jan
2008
5 Jan
'08
10:27 p.m.
At 11:53 AM -0800 1/5/08, Anil wrote:
I don't think I am hitting the NGROUPS_MAX, my limits.h shows it to be 16.
# groups root other bin sys adm uucp mail tty lp nuucp daemon
Thats less than 16.
I think the setgroups() used in Dovecot is failing because of this error:
EINVAL The value of gidsetsize is non-zero and less than the number of supplementary group IDs set for the calling process.
What does that mean?
Either:
- You are using some OS where the Standard C Library is badly broken by design.
- You are using Solaris (or some related OS) and have mis-read the man page where that quoted text exists, but explicitly DOES NOT describe setgroups().
-- Bill Cole bill@scconsult.com