I have two systems on the home network: System 1 is a Windows 10 machine with two accounts, a standard account and an admin account, both of which use their respective Microsoft accounts to log into their accounts in System 1. The other computer, System 02, has Ubuntu 16.04.3 LTS installed.
I installed the samba package in Ubuntu (System 2) and from the file manager I selected the folders I wanted to share, right clicked and from the menu went into sharing options. Then I checked "Allow others to create and delete files in this folder" and also checked "Guest access" and then clicked "Create Share".
Then on the Windows 10 machine (System 1), I logged into the admin account, and from Control Panel -> Network and Internet -> Network and Sharing Centre -> Advanced Sharing Settings, in "Change sharing options for different network profiles" I selected "Turn on network discovery" and checked "Turn on automatic setup of network connected devices" then clicked "Turn on file and printer sharing" and then saved changes.
This completes the set up for the two systems.
Then back on the Ubuntu machine (System 2) I opened the file manager, and mentioned in a previous post, I clicked Ctrl+l and then in the address box type
A dialog box opens up and I type in the username (which is the windows 10 admin MS account name or email) and typed in the domain of the Windows 10 system (usually WORKGROUP) and password (for the Windows 10 admin MS account).
Then the shared folders on the Windows 10 system are displayed.