Where are the users/groups used to build smb.conf?

Hi,

You could refer to the following link: Hacks to make Public share and USB shares private