Skip to main content
NetApp Knowledge Base

Users cannot access files over NFSv4 when 'nobody' is displayed as owner, due to incorrect LDAP entry

Views:
598
Visibility:
Public
Votes:
0
Category:
ontap-9
Specialty:
nas
Last Updated:

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/csh

    root@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]#

 

Sign in to view the entire content of this KB article.

New to NetApp?

Learn more about our award-winning Support

NetApp provides no representations or warranties regarding the accuracy or reliability or serviceability of any information or recommendations provided in this publication or with respect to any results that may be obtained by the use of the information or observance of any recommendations provided herein. The information in this document is distributed AS IS and the use of this information or the implementation of any recommendations or techniques herein is a customer's responsibility and depends on the customer's ability to evaluate and integrate them into the customer's operational environment. This document and the information contained herein may be used solely in connection with the NetApp products discussed in this document.