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
Thats it you can access this maching from windows using
//linuxserver-IP/wsuser
source:
http://www.howtogeek.com/howto/ubuntu/share-ubuntu-home-directories-using-samba/
No comments:
Post a Comment