2017 samba
http://jessinio.blogspot.tw/2009/12/mount.html
centos6 mount centos 7 版本出現 error13
是後來加上 sec=ntlmssp,("password" "雙引號"一定要加)
mount -vvv -t cifs -o username=administrator,password="password",sec=ntlmssp //192.168.1.250/sysvol /mnt/sysvol/
但對上windows8.1 必須改換 ntlmsspi . ("password" ""一定要加)
mount -vvv -t cifs -o username=administrator,password="password",sec=ntlmsspi //192.168.1.250/sysvol /mnt/sysvol/
案例: server centos7 mount centos6 samba 出現 erroer 112 hostdown (高版本 mount 低版本)
解決方式: mount -t cifs -o username=user,password=****.vers=1.0 //192.168.1.200/share /mnt/a
另外有2.1 和 3.0 可用
-o 參數
iocharset=utf8
uid=user,gid=user
#掛載至相同uid gid
mount -t cifs -o ro,username=user,password=0000,uid=501,gid=501,dir_mode=0775,file_mode=0775 "//192.168.0.100/hs" "/mnt/hs"
參數 -vvv 是看mount 過程