Samba can use the "force group = groupname" directive for a share to force files/directories to be created as a particular group. You can also change a directory's permissions within the file system to be set gid to cause all new files/directories to inherit the top level directory's group. For example:
Code:
chmod g+s /usr/loca/share/data