LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 12-19-2010, 09:42 AM   #1
witek
Member
 
Registered: Oct 2008
Location: Poland, Łódź
Distribution: Lubuntu, Salix
Posts: 105

Rep: Reputation: 19
Unhappy NFS and 16 groups limit


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?
 
Old 12-19-2010, 09:51 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
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??
 
Old 12-19-2010, 10:37 AM   #3
witek
Member
 
Registered: Oct 2008
Location: Poland, Łódź
Distribution: Lubuntu, Salix
Posts: 105

Original Poster
Rep: Reputation: 19
You are wrong, NFS limits number of groups a user belongs to. The limit is 16. If user belongs to more than 16 groups they are not parsed via NFS
 
Old 12-19-2010, 10:56 AM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
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.
 
Old 12-19-2010, 12:10 PM   #5
witek
Member
 
Registered: Oct 2008
Location: Poland, Łódź
Distribution: Lubuntu, Salix
Posts: 105

Original Poster
Rep: Reputation: 19
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?
 
Old 12-19-2010, 12:43 PM   #6
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
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.
 
Old 12-19-2010, 01:04 PM   #7
T3slider
Senior Member
 
Registered: Jul 2007
Distribution: Slackware64-14.1
Posts: 2,367

Rep: Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843
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.
 
Old 12-19-2010, 02:07 PM   #8
witek
Member
 
Registered: Oct 2008
Location: Poland, Łódź
Distribution: Lubuntu, Salix
Posts: 105

Original Poster
Rep: Reputation: 19
Quote:
Originally Posted by T3slider View Post
This thread seems to still apply (unfortunately)
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?
 
  


Reply

Tags
nfs



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Quotas Hard Limit Problem Groups Ani Linux - General 2 10-23-2009 08:17 AM
limit to nesting groups within groups? geekgrl Linux - General 3 10-16-2007 11:50 AM
How to limit memory for users/groups? rubendarioportillo Linux - Newbie 1 09-30-2005 12:35 AM
limit on number of groups stolb001 Linux - General 1 07-08-2004 02:37 AM
limit on number of groups stolb001 Linux - General 0 07-07-2004 02:19 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 01:01 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration