跳转到主内容

为什么NFS用户凭据不能使用身份验证show-creds?

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

适用场景

  • ONTAP 9
  • CIFS
  • NFS

问题解答

  • authentication show-creds 如果未配置CIFS、则会失败、因为由于命名而需要Unix和Windows部分凭据

示例

cluster1::*> vserver services access-check authentication show-creds -node cluster1-01 -vserver svm1 -unix-user-name root

Vserver: svm1 (internal ID: 6)

Error: Get user credentials procedure failed
  [  0 ms] Determined UNIX id 12345 is UNIX user 'userx'
  [    0] Trying to map 'userx' to Windows user 'userx' using
      implicit mapping
  [    0] Could not find Windows name 'userx'
  [    0] Unable to map 'userx'. No default Windows user defined.
**[    0] FAILURE: Name mapping for UNIX user 'userx' failed. No
**      mapping found

Error: command failed: Failed to get user credentials. Reason: "SecD Error: Name mapping does not exist".

  • 如果仅配置了UNIX安全模式卷或qtree、而不需要CIFS:authentication show-creds则不有用
  • 如果配置了混合或NTFS安全模式卷或qtree、并且无法设置CIFS:将和/或qtree转换为UNIX安全模式
  • 否则、请设置CIFS

追加信息

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.