我跟着;https://warlord0blog.wordpress.com/2018/03/27/access-dfs-shares-from-linux/
通过这个我可以手动挂载 cifs 共享,但是当我尝试通过 kerberos 将它挂载到 fstab 时;
//windows/share/filepath /home/Drive cifs user,uid=me,gid=metoo,vers=3.0,rw,sec=krb5 0 0
我明白了
➜ ~ sudo mount -a
mount error(2): No such file or directory
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
然后我将其更改为:
//windows/share/filepath /home/Drive cifs _netdev,sec=krb5,noserverino,user,uid=myname,cruid=myname,gid=mygroup,rw 0 0
它现在在启动时失败,但在我运行后工作;
sudo mount -a