centos6挂载centos7版本上的samba服务报错

~]# mount -t cifs //192.168.1.114/myfiles /mnt -o username=smbuser3,password=123456ide

mount error(13): Permission deniedci

Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)it


通过查证,都说是帐号密码错误,可是通过查验密码一直没有错,最后使用下面的方法解决:io

~]# mount -t cifs //192.168.1.114/myfiles /mnt -o username=smbuser3,password=123456,sec=ntlmsspclass


添加sec=ntlmssp参数便可;file

相关文章
相关标签/搜索