1) create unix user (e.g. wsuser)
2) sudo apt-get install samba smbfs
3) sudo smbpasswd -a wsuser
4) sudo gedit /etc/samba/smbusers
#add this line
wsuser = “wsuser”
5) sudo gedit /etc/samba/smb.conf
# add two lines after “####### Authentication #######”
security = user
username map = /etc/samba/smbusers
# Uncomment below three lines
[homes]
comment = Home Directories
browseable = yes
# add line
writable = yes
————————————————–
通過以下方式訪問:
//linuxserver-IP/wsuser