Setup
sudo apt-get update
sudo apt-get install samba smbclient
smbpasswd -a samba_user
you'll be prompted to enter a password
samba_pass
Make a backup
cp /etc/samba/smb.conf /etc/samba/smb.conf-orig
Append the following code to the /etc/samba/smb.conf
; -----------------------------------
[my_share_name]
path = /path/to/site/
available = yes
valid users = samba_user
force user = myuser
force group = myuser
read only = no
browseable = yes
public = yes
writable = yes
; -----------------------------------
Test the config
testparm
access it
service smbd reload
or
service smbd restart
Related
Problem accessing Ubuntu Server Samba shared folder from Windows 8: http://ubuntuforums.org/showthread.php?t=2172047
good info
ReplyDeleteThanks
Delete