View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0016077||CentOS-7||nfs-utils||public||2019-05-13 14:33||2019-05-13 14:33|
|Target Version||Fixed in Version|
|Summary||0016077: NFS version 4 still requires the UID and GID of users to match|
|Description||I have installed a NFS version 4 only server. I have relied to information from here: http://nfs.sourceforge.net/ where it is clearly stated:|
NFS Version 4 standardizes the use and interpretation of ACLs across Posix and Windows environments. It also supports named attributes. User and group information is stored in the form of strings, not as numeric values. ACLs, user names, group names, and named attributes are stored with UTF-8 encoding.
I have set up a testing environment with 1 server (mentioned above) and 2 clients. I have created a test user named nfstestuser with UID:GID 1005:1005 on one of the clients and on the server, while i have the same user (nfstestuser) on the other client with UID:GID 1004:1004. Now i can only access the share from the client with the UID:GID matching the user's UID:GID on the nfs server.
|Steps To Reproduce||- install nfs-utils on server and clients|
- create a NFS export for 2 clients
- create a test user
- change the test user's UID:GID in a way that one client will have the user's UID:GID matching the server's test user's UID:GID and the other client will have a different UID:GID
- try to access the share from both clients
|Additional Information||uname -a|
Linux trv-test3-ttudja1 3.10.0-957.5.1.el7.x86_64 #1 SMP Fri Feb 1 14:54:57 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
I used the following article to install and configure a NFSv4only server: