I'm rebuilding a Samba file server and my knowledge is rusty.
Note this is a simple fileserver, no AD.
What I want to achieve is that each user has their own user/pass but that all files stored on the server get allocated to one global user.
As I recall, I need both a Linux user and a Samba user for each person. However, I still have access to the files on the old server (but cannot boot it) and looking at /etc/passwd on there I do not see the individual users listed. I know that I definitely used to access the share as "mark". Therefore I'm both confused how it used to work, but also the correct way to set it up now.
It's Ubuntu Server 18.04, Samba 4.7.6.
Right now I have my shares configured in /var/lib/samba/usershares and can access them all via a single user (my primary server login which I added to Samba as well). They're currently read-only because the files are all root.root owned, that's something else I'll need to change.
(If I can do it, I'd like to have some users read-only and some read-write once I'm finished but that's not a priority.)