View Issue Details

IDProjectCategoryView StatusLast Update
0016077CentOS-7nfs-utilspublic2019-05-13 14:33
Reportertomas.tudja 
PriorityhighSeveritymajorReproducibilityalways
Status newResolutionopen 
Product Version7.6.1810 
Target VersionFixed in Version 
Summary0016077: NFS version 4 still requires the UID and GID of users to match
DescriptionI 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 Informationuname -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:
https://opsech.io/posts/2016/Jan/26/nfsv4-only-on-centos-72.html
TagsNFSv4
abrt_hash
URL

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2019-05-13 14:33 tomas.tudja New Issue
2019-05-13 14:33 tomas.tudja Tag Attached: NFSv4