fileserver question

battletoad

Expert Member
Joined
Mar 10, 2009
Messages
1,451
If I do a setup as such:

-DC1 is primary domain controller
-DC2 is backup domain controller
-DCFILES is where files of domain users are saved and mounted in DC1 and DC2,

would domain users access their files on DCFILES via DC1/DC2 or straight from DCFILES? I understand that DC1/DC2 will work with file permissions, so would that automatically imply the first option (DCFILES via DC1/DC2)?

I'm wondering how the networking side of things will be done.
 

battletoad

Expert Member
Joined
Mar 10, 2009
Messages
1,451
nope, im using samba for the domain controller. would be great if there is a DFS analog for samba

edit: I should use google before replying *facepalm* (there is some DFS and samba configuration)
 
Last edited:

koffiejunkie

Executive Member
Joined
Aug 23, 2004
Messages
9,588
would domain users access their files on DCFILES via DC1/DC2 or straight from DCFILES? I understand that DC1/DC2 will work with file permissions, so would that automatically imply the first option (DCFILES via DC1/DC2)?

No, your DC will deal with authentication. Your domain member servers (DCFILES) is accessed directly.
 

battletoad

Expert Member
Joined
Mar 10, 2009
Messages
1,451
No, your DC will deal with authentication. Your domain member servers (DCFILES) is accessed directly.

awesome!

EDIT: my (supposedly) last question concerns directory write permissions.

On DCFILES I'll set ownership and permissions on /srv/samba/files as jones:user and 775. Thereafter I edit smb.conf
[domainfiles]
path = /srv/samba/files
valid users = jones @user
read only = no
browseable = no

Now on DC1, I mount \\DCFILES\domainfiles into say /mnt/domainfiles. Change permissions to 770 and ownership to admin:user. I set every account to have "user" group membership. Will this config permit samba domain users specified on DC1 to write to the network share on DCFILES?
Also, how do I set a user's home directory as /mnt/domainfiles/user? More importantly, I don't really want to change each and every users' home directory, I'd rather want it to be done automatically. In which manner do i do this?
 
Last edited:
Top