Skip to contentSkip to conversation

NGROUPS limitation on RPCSEC_GSS/krb5?

DISCUSSION Frank van Maarseveen 2 participants 2 messages Aug 24, 2006

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

I got a report from someone that RPCSEC_GSS/krb5 has a limit on the number of secondary groups: no more than 32 groups are supported.

Can anyone confirm this?

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
NFS maillist - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs

#1 lore raw
Quoted 4 lines · Frank van Maarseveen

I got a report from someone that RPCSEC_GSS/krb5 has a limit on the number of secondary groups: no more than 32 groups are supported.

Can anyone confirm this?

<resending from a different account 'cos sourceforge apparently trusts spamcop these days>

There is no reason why this limitation should exist, so that would have to be an implementation "bug" in nfsd if true.

Hrmm... The kernel looks OK: the downcall stuff doesn't appear to be limited.

...Ah. svcgssd appears to be using the NGROUPS macro. If your glibc is old enough, then I suspect it might be setting that to 32, but at least in my glibc, then /usr/include/sys/param.h would appear to be setting it to NGROUPS_MAX, which again appears to evaluate to 65536.

Cheers,
Trond

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
NFS maillist - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs