I've always found the default installation of Samba already exports home directories. If it doesn't you need to edit /etc/samba/smb.conf to include a section like:
[homes]
comment = Homes Directories
valid users = %S
read only = No
create mask = 0700
directory mask = 0700
You then need to add your username to Samba's user database by executing
smbpasswd -a orcris
(assuming your linux username is orcris - replace as needed)
The windows share is then \\yourlinux\orcris. It will likely prompt for your linux username and smbpasswd (which doesn't have to be synchronized with your linux login password).
Documentation I've found tends to forget to tell you to add the username using smbpasswd.
Answer from StarNamer on askubuntu.comHow-to create a (samba) shared folder in your local network – antiX-forum
Need help accessing a samba shared folder
Is it a good idea to use Samba for sharing between Ubuntu and Windows 10
Samba share for paperless-ngx LXC's consume directory
Videos
On the server side (which runs lubuntu) I edited the file /etc/samba/smb.conf adding the following
[Downloads] comment= Network Shared Folder by Samba Server on Ubuntu path = /home/itguysnightmare/Downloads force user = smbuser force group = smbgroup create mask = 0664 force create mode = 0664 directory mask = 0775 force directory mode = 0775 public = yes read only = no
Folder ownership was changed like so: sudo chown -R smbuser:smbgroup ~/Downloads
And I changed permissions like so: sudo chmod -R g+w ~/Downloads
I then restarted the service systemctl restart smbd
On client side, which runs solus with kde, I opened dolphin, went to network and shared folders (smb)
It asks for a password. Username and password of the user running on server didn't work.
I'm not sure what I did wrong but I'd sure love to learn.