Users cannot access files over NFSv4 when 'nobody' is displayed as owner, due to incorrect LDAP entry
Applies to
- ONTAP 9
- NFSv4
- Lightweight Directory Access Protocol (LDAP)
Issue
- User cannot access files when '
nobody
' is the owner
-rw-r--r--. 1 nobody groupname01 0 Aug 25 09:53 22222222222222222222222
-rw-r--r--. 1 nobody groupname01 0 Aug 25 09:53 222222222222222222222222
- Issue occurs intermittently
- The user id, uid, gid show the expected result:
[username01@machine01~]$ id
uid=1234(username01) gid=5678(groupname01)
-
getent passwd <uid> and getent group <gid>
root@machine01[/root]#getent passwd 1234
username01:PBIS:1234:5678::/share/home/username01:/bin/cshroot@machine01[/root]#getent group 5678
groupname01:PBIS:5678:username01 - nfsidmap -d shows the correct domain ID:
root@machine01[/root]#
nfsidmap -d
domain.com
- On the cluster we find the same domain ID:
DKN_CLUS::> vserver nfs show -fields v4-id-domain
vserver v4-id-domain
--------- ---------------------
SVM1 domain.com
- The contents of /etc/idmapd.conf are also correct
- Attempted to clear the current ID Domain and check /etc/idmapd.conf for a new value
root@machine01[/root]#nfsidmap -c
root@machine01[/root]#