I have a directory with files owned by Linux user
quux. I want to give access to it over CIFS using Samba 4 for two persons so they have different usernames
bar and passwords but access the same files under the same Unix UID and GID of
In Samba 3 it was possible by using
force user and
forced group parameters of share configuration in
smb.conf but the options are no longer supported in Samba 4.
Is something similar possible with Samba 4?
Upd: We use samba to edit files on development Linux server from Windows PCs. For simplicity of deployment it's better to have the same file ownership and permissions on production and development servers.
Ideally every developer should have single pair of username/password to remember and use it to connect to any project at any server as opposed to having different credentials for different projects and/or servers.