Samba: Meh.

I'll start by saying Samba is not as easy as it should be, even when it's fully set up and working, but it gets the job done, and SFTP gets so tedious after a while.

Here's what I had to do to get it working. First, install it:

apt-get install samba

Next, edit /etc/samba/smb.conf and add something like this:

[www]
comment = My Shared Stuff
path = /my/folder
browseable = yes
read only = no

(I added it at the bottom of the file so that I could find it quickly)

I reloaded samba at that point, but I'm not positive it's necessary:

service smbd reload

Then, and this is the part I had forgotten from setting it up last time, I added my user to the list of samba users:

smbpasswd -L -a username

Done. Now get back to work!

Edit:
Now that I have installed the GUI, just do it from there. Right click on the folder to share it then run this command…

sudo smbpasswd -a username

Leave a Reply

Your email address will not be published.