Use the NFS option nfs.v4.numeric.ids (or something similar… forget what it is exactly).

 

From: toasters-bounces@teaparty.net [mailto:toasters-bounces@teaparty.net] On Behalf Of John Adams
Sent: Wednesday, November 16, 2016 5:17 PM
To: toasters@teaparty.net
Subject: NFS V4 and nobody

 

I am mounting an export via NFS V4.  At first, I saw that mounted clients showed user/group as nobody:nobody.  But then I configured the nfs.v4.id.domain option on the filer to be the client machines DNS domain name.  Then the username:groups were correct.. mostly...

We use NIS on the client machines and the filer.

For files that are owned by users or groups that are not in our NIS, the clients now shows nobody.

Under NFS V3... this shows the UID/GID numbers  (if they are not in NIS, and have no mappings).

Anybody know how to make NFS V4 just show the UID/GID of entries that have no mapping instead of converting them to nobody?

(UID's are no longer in our NIS after the account is deleted...)

 

RHEL6/7.  OnTap 8.2.4-7 Mode.


Thanks.