. sudo apt-get install samba samba-common . sudo vi /etc/samba/smb.conf [alair's share]
path = /home/alair/worksapce
public = yes
writable = yes
valid users = alair ; 强制以用户alair 登录 samba 服务器 . 在samba 服务器中加入用户alair(alair 已经是ubuntu系统用户)
smbpasswd -a alair 4. 重启samba 服务器
sudo /etc/init.d/samba restart 5. 在windows 上登录samba 服务器
\ip\alair's share
转:THE NETWORK FOLDER SPECIFIED IS CURRENTLY MAPPED USING A DIFFERENT USER NAME AND PASSWORD
https://mssqltrek.com/2013/08/21/the-network-folder-specified-is-currently-mapped-using-a-different-user-name-and-password/