I tried to follow the ubuntu nfs4 documentation as closely as possible. My client machine is showing incorrect file ownerships.
This is my idmapd.conf file on both machines:
[General] Verbosity = 0 Pipefs-Directory = /run/rpc_pipefs Domain = localdomain [Mapping] Nobody-User = nobody Nobody-Group = nogroup [Translation] Method=nsswitch
Yet, the client shows the ownership of files based on the numerical uid/gid instead of mapping the user and group names. I have the same user names on both machines, but the uids are not the same. So when I ls -l the directory on the client, it shows the files as owned by a different user which shares the same uid as the intended user on the server.
What am I doing wrong?