使用Kerberos挂载Samba时收到所需密钥不可用错误
适用场景
- 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)