Samba on Ubuntu, using Mac

On Ubuntu:

sudo apt update
sudo apt install samba
sudo nano /etc/samba/smb.conf

At the bottom of the file, add the following lines:

[sambashare]
    comment = Samba on Ubuntu
    path = /home/username/sambashare
    read only = no
    browsable = yes

Restart samba

sudo service smbd restart

Update the firewall rules to allow Samba traffic:

sudo ufw allow samba

Set up a Samba password for user account:

sudo smbpasswd -a username

On Mac :

Open finder and press COMMAND+k, this will open the window “Connect to server”
Enter the URL: smb://server-ip/sambashare

3 thoughts on “Samba on Ubuntu, using Mac”

  1. After exploring a number of the blog posts on your site, I honestly like your way of writing
    a blog. I book-marked it to my bookmark site list and will be checking back in the near future.
    Please visit my web site too and tell me
    how you feel.

Leave a Reply

Your email address will not be published. Required fields are marked *