跳转到主内容

在使用Kerberos挂载NFSv4时、root创建的文件在客户端上显示为无人

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

适用场景

  • ONTAP 9
  • NFSv4
  • Kerberos

问题描述

  • 使用Kerberos挂载NFSv4时、root用户创建的文件在客户端上显示为无人。
  • 使用sys挂载NFSv4时、root用户创建的文件在客户端上显示为root。
  • 用户是为客户端使用的计算机SPN在本地创建的。
::> unix-user show -vserver vs1
Vserver     UserName  UserID GroupID
-------------- ----------- ------ ------ 
HQTESTKB    Machine1$  1001  1    
  • 配置名称映射后、机器SPN才能映射到root用户。
::> vserver name-mapping show -vserver vs1
Vserver:  vs1
Direction: krb-unix
Position Hostname     IP Address/Mask
-------- ---------------- ----------------
1    -         -          Pattern: Machine1$@domain
                                     Replacement: 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.