記錄 ubuntu14.04 samba 訪問win10共享文件夾

需要注意的地方

1、/etc/hosts 添加win10服務器的ip和計算機名字

xxx.xxx.xxx.xxx computer-name

 

2、修改/etc/samba/lmhosts

xxx.xxx.xxx.xxx computer-name

 

3、使用鏈接命令

smbclient -m SMB2 -U computer-name/username //xxx.xxx.xxx.xxx/sharefile-name

 

mount -t cifs -o username=share,passwd=share,vers=2.0,uid="1000",gid="1000" //192.168.0.106/dsp-c6000 /mnt/win10

 

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章