I’ve previously written some on this topic but I had to go through the process again on a clean install of the latest Ubuntu. Using the build in tools that came with Ubuntu 18 got me close but not all the way to where I wanted to be. I didn’t want other users on my network to have to log in, and I was unable to edit files on the shared drive. The workflow below worked to get everything working from my Windows 10 machine.
At first I installed the samba GUI from the software GUI but I got errors about not having the proper users when I tried to actually use it so I would recommend doing it form the terminal.
sudo apt update sudo apt upgrade sudo apt install system-config-samba
For some reason this is the name of samba — just go with it.
sudo system-config-samba
To launch the GUI (this probably will not work on your first try unless they fix the software) To get this to work I have to create the config file that is missing.
sudo touch /etc/libuser.conf
Then start the GUI and get much better control over adding network shares.
sudo system-config-samba