RHEL6:带有 autofs 的 CIFS 挂载无法被访问,带有错误 "CIFS VFS:Send error in SessSetup = -128"
Issue
- 在进行了一个全新的重启后,带有 sec=krb5 的cifs 挂载可以正常工作。 但随着时间的推移,这些挂载会开始出现失败的情况。
- 在凭据过期后 CIFS 挂载将无法访问,并在启用 autofs debug 时出现以下错误
kernel: CIFS VFS: Send error in SessSetup = -128
automount[7568]: >> mount error(128): Key has been revoked
automount[7568]: >> Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
automount[7568]: mount(generic): failed to mount //cifs_server/homeshares$/user_share (type cifs) on /mnt/user
automount[7568]: dev_ioctl_send_fail: token = 181
automount[7568]: failed to mount /mnt/user
Environment
- Red Hat Enterprise Linux (RHEL) 6.7 及更低版本
- 自动挂载 CIFS 共享
- 到 CIFS file-server 的 Kerberos 身份验证(sec=krb5)
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.