Group membership limit

On Solaris, a user is limited to being a member of a maximum of 16 groups. Could someone tell me where this limit comes from, i.e. is it NIS, or Solaris, or NFS that is imposing this limit?

What is the work-around to remove this limitation?

Hi son_t,

This may answer your question;

Peter Harvey's blog

I hope this is of help.

Jnike

Many thanks for that... I've just read it, but really need to digest...

Is he saying increasing the max group membership is possible, if we go to NFS v4 AND Solaris 10 with the 'hack' that he kind of outlines?

Can I go to NFS v4 and use Samba on Linux to get around this problem that I am having with NFS+Solaris+Samba?

Hi son_t,

I'm still digesting this information myself......

Q1

Remember the over heads described here...

So that's it is it? Just increase NGROUPS_MAX_DEFAULT?
Err, not quite. Not if we want 10,000+ groups. Let's see ...

see section = Scalability!!

Q2

I'm not sure at this point, but you should be careful before considering implementing this type of changes to your system.

see section = So this what I'm thinking ...
This kind of change could break many things so we have an internal architectural review group that discuss this sort of thing.

I hope this is of help.

Jnike

I see that the article is pretty old, and that Solaris 10 is quite mature(ish) now. So this group membership limit might have been removed in Solaris 10? (i.e. the hack has gone into the code?)