Kerberosを使用したCIFS共有のマウント時に「Receiving required key not available」
環境
- 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.