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

Kerberosを使用したCIFS共有のマウント時に「Receiving required key not available」

Views:
443
Visibility:
Public
Votes:
0
Category:
ontap-9
Specialty:
nas<a>Kerberos</a><a>samba</a><a>2008779405</a>
Last Updated:

環境

  • ONTAP 9以降
  • LinuxクライアントへのCIFSマウント

問題

  • UNIXクライアントからKerberos認証を使用してCIFS共有をマウントすると、マウントが失敗してというRequired key not availableエラーが表示されます。

例:

[root@client ~]# mount -t cifs -o username=user@domain.com,password='xxxx',sec=krb5,nounix,iocharset=utf8,file_mode=0777,dir_mode=0777 //cifserver/share /mnt
mount error(126): Required key not available
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)

 

  • sec=krb5 オプション(ユーザ名にパスワードを手動で入力する必要がある場合)を使用せずにCIFS共有をマウントすると、scriptsフォルダにアクセスできます。
  • sec=krb5 オプション(パスワードを手動で入力しない場合)を使用してCIFS共有をマウントすると、scriptsフォルダにアクセスできません。

発生したエラー:
abdcd@xyz:~$ ls -la /mnt/test/dev-krb/scripts
ls: cannot access '/mnt/test/dev-krb/scripts': Required key not available

シンボリックリンクの詳細
Vserver   UNIX Path CIFS Share CIFS Path Remote NetBIOS Server Name Local or Wide Symlink Home Directory
netapp /h/abc/ abc  /  netapp  widelink  falseCollect traces while mounting with and without sec=krb5 for review.

 

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.