- this config requires that users are member of the linux group "safepay", so you will have to create that if it's not already there.
(valid users = @safepay).
- furthermore only members of "safepay" have write-access granted by samba (write list = @safepay).
ordinary file permissions of linux need to be set properly as well !
- only user = yes : only users that match the ones in (user = @safepay) are allowed to make a connection.
so you have to make sure that the linux group "safepay" is present. any user you wish to grant access needs to be member of that group. so you need to create a linux user with proper group membership and file permissions first. then add that user to samba's user database to enable it.
depending on the type of password database you use you can use "smbpasswd" or "pdbedit".
the type of database should be in the smb.conf file (passdb backend = ....)
have a look at: