Believe using Samba each user's rights or permissions need to be set on each computer they are to log into.
IF two separate computers try first just setting each user with read and write permission in their own /home/username on each machine.
Am not sure Samba will eXecute anything on a machine Samba is logging into.
I use Samba to transfer files from one machine to another
openSUSE Reference Samba (helps): https://activedoc.opensuse.org/book/...apter-19-samba