Firstly ensure that system-config-samba is installed (refer to this post for install instructions).

Click File -> Add Share

Click Browse and select the folder to be shared

Insert a share name for the folder to be shared

Check "Writeable" and "Visible" if desired

Click the Access tab and allow access to everyone

You can of course restrict access to a specic user if you so choose

Click OK

sudo nano /etc/samba/smb.conf

Scroll to the bottom of the terminal window and you’ll notice the share name you created there. Add the following line at the end of that section:

force user = YOUR-USERNAME

sudo service smbd restart