NFSv4 mount maps permissions for users and groups to nobody
This document (7021120) is provided subject to the disclaimer at the end of this document.
Environment
SUSE Linux Enterprise Server 12 Service Pack 2 (SLES 12 SP2)
Situation
[...]
11 20 drwxrwsr-x 2 nobody nobody 16384 Nov 15 2012 lost+found
148996097 91248 drwxrwsr-x 5 nobody nobody 93335552 Jul 11 18:40 Statements
32769 86308 drwxrwsr-x 5 nobody nobody 88281088 Jun 8 00:19 Statements_Original
34177025 4 drwxrwsr-x 2 nobody nobody 4096 Jan 29 2015 TEST
35012609 4 drwxrwsr-x 2 nobody nobody 4096 Feb 28 19:43 upload
[...]
In /var/log/messages the following error is displayed:
Jul 15 02:27:54 linux nfsidmap[14274]: nss_getpwnam: name '<$USERNAME>' not found in domain 'localdomain'
The access permissions on other hosts mounting the share show the regular username and group.
Resolution
nfsidmap -c
to clear the cache of the nfsidmap daemon running with the NFS client.
Cause
Additional Information
Disclaimer
This Support Knowledgebase provides a valuable tool for SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.
- Document ID:7021120
- Creation Date: 26-Jul-2017
- Modified Date:03-Mar-2020
-
- SUSE Linux Enterprise Server
For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]suse.com