メインコンテンツまでスキップ

NFSv4クライアントではユーザおよびグループがnobodyと表示されます

Views:
45
Visibility:
Public
Votes:
0
Category:
ontap-9
Specialty:
nas<a>2009360168</a>
Last Updated:

環境

  • ONTAP 9
  • NFSv4
  • Linux

問題

  • NFSv4 clientコマンドを実行するls -l (or ll)と、次 nobodyのようにユーザとグループが誤って表示されます。

NFSv3の例:

[root@nfs_SVM> mount_point]# ls -l test1
-rw-r--r--. 1 root root 0 Oct 18 12:34 test1

NFSv4の例:

[root@NFS_SVM> mount_point]# ls -l test1
-rw-r--r--. 1 nobody nobody 0 Oct 18 12:34 test1

  • クライアントには、ONTAP とは異なるIDが表示されます

# getent passwd | egrep "username|id"
# getent group | egrep "groupname|id"

  • ONTAP では、コマンドを使用して、ローカルユーザとローカルグループのクレデンシャルがクライアント側の詳細とは異なる場合にadvanced権限モードで表示されます。

::*> vserver services name-service unix-user show -vserver SVM
::*> vserver services name-service unix-group show -vserver SVM

  • ONTAP でLDAPからクレデンシャルを解決できない:

::*> vserver services name-service getxxbyyy getpwbyuid -node NODE-01 -vserver SVM -useriD 123 -show-source true
Error: command failed: Failed to resolve 123. Reason: Entry not found for "userid: 123".

::*> vserver services name-service getxxbyyy getgrbyname -node NODE-01 -vserver SVM -groupname example -show-source true
Error: command failed: Failed to resolve example. Reason: Entry not found for "groupname: example".

::*> vserver services name-service getxxbyyy getgrbygid -node NODE-01 -vserver SVM -groupiD 123 -show-source true
Error: command failed: Failed to resolve 123. Reason: Entry not found for "groupid: 123".

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.