Hi,
I am using RedHat 6 and ,I am trying to force a domain user (from Windows AD) to take ownership of a file when it is created, or copied on a Samba share. I have managed to get this working for the root user using the code below:
[IT]
COMMENT = IT Data Share
path = /media/Data/IT
create mask = 0660
directory mask = 770
writeable = yes
browseable = yes
force user = root
valid users = "+MYDOMAIN+it"
guest ok = no
blocking locks = no
I have tried to type the command like i did with the valid users
force user ="+MYDOMAIN+admin"
but i get an error on the windows machine saying that the specific account does not exist and i cannot access the share. The command only allows samba users defined in smbusers to be used?
The server is part of my domain and i was able to assign domain groups to the file permissions