SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I`m using Slackware with NFS share and I`ve been wondering why I had problems with access to some folders and I finally figured out that NFS limits group membership only to 16
Is there a simple way to circumvent this in Slackware?
NFS can't limit group memberships, that doesn't make sense on a normal posix filesystem. A file just has a uid and a gid, NFS has no idea at all how many users are in the groups, that logic would have to live elsewhere. Can you demonstrate the behaviour you're referring to in more detail? if this something to do with the export on NFS maybe? Lots of groups listed in there??
OK, so checking around I see what you're probably referring to. It's not NFS but the RPC authentication stages. I asked you to provide more information and you didn't... just saying "you're wrong" is somewhere short of useful.
So to move forwards, do you need all these groups? 16 groups is a lot for a posix account to be part of, I'd really think that it's been poorly managed along the way to evolve into so many gorup memberships. You can apparently look to use gss authentication (kerberos) with nfsv4 to work around the default auth methods. 10 seconds on google brings up this useful blog entry: http://nfsworld.blogspot.com/2005/03...imitation.html
Last edited by acid_kewpie; 12-19-2010 at 10:57 AM.
I`m sorry for "you are wrong" but that doesn`t matter either NFS or RPC is to blame. I cannot use more than 16 groups via NFS anyway.
I`m reading this blog entry but I don`t understand much. BTW: What NFS version does Slackware use? I found nfs-utils-1.2.2
Does it support NFS v.4? If so why isn`t this default?
Nfs v4 is VERY different from v2 / v3, different models and practises, it's not just a code upgrade. You should have v4 support there by default, but you'll need to read up on it, and reconfigure your clients completely too.
This thread reminded me of this one, though it won't really help you.
This thread seems to still apply (unfortunately), so it will require some extra dependencies (note that they may have changed since then...you'll have to check) and a recompile of nfs-utils. I'm not sure if enabling NFSv4 would require modifying the startup scripts or not.
It looks that NFS v.4 is not easily available in Slackware. Do you maybe know if other distros (ie. Fedora) have NFSv.4 compiled by default? BTW: I`m not sure if NFSv.4 alone solves the problem with 16 groups limit. Can anyone advise if this is only half of the solution and I have to change authentication method, too?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.