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

認証のshow-credsをNFSユーザクレデンシャルに使用できないのはなぜですか?

Views:
2
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役立ちません
  • mixedまたは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.