[Samba] Domain users and local permissions

Jason Greene jason at the-greenes.net
Fri Aug 17 14:41:07 GMT 2007


I have a situation that I don't know how to solve

I have a directory that is shared out

/apps

My smb.conf has a write list for domain users
valid users =
@"Domian+Group", at Domain+user1, at Domain+user2, at Domain+user3, at Domain+user4, at Domain+user5
write list =
@"Domian+Group", at Domain+user1, at Domain+user2, at Domain+user3, at Domain+user4, at Domain+user5
create mask = 0774
force create mode = 0774
force directory mode = 0774

What I need to do is one of two things... not sure which I can do.

1. I need have the local directories and files owned by a domain user &
group and when anyone writes to the directory via the samba share or local
shell the ownership remains the same(owned by the domain user/group).  The
problem I have is setting the local permissions to a domain user/group

2. I need to have the local directories and files owned by a local user &
group and when anyone writes to the directory via the samba share or local
shell the ownership remains the same/ The problem is the domain users can't
write to the directory unless they are in the local group (how do you add a
domain user to the passwd file?) or the directory is set to 777.

Anyone know how to accomplish this?

Thanks
Jason

-- 
Jason Greene


More information about the samba mailing list