I have an nfsv4 server and client (both RedHat 6) configured with the method set to nsswitch, and the same domain set on both client and server in /etc/idmapd.conf. On the client I get nobody:nobody ownerships and the following message in /var/log/messages for each user:
nfsidmap: nss_getpwnam: name 'bob' not found in domain 'mydomain'
Now the 'bob' account is not on the client system but on the server only, so the client must be getting it through rpcidmapd to show in the log message.
How do I get the proper ownerships to show up and not default back to nobody:nobody?