Hello!
Samba wiki about DFS says the domain-level DFS root does not work
in samba:
https://wiki.samba.org/index.php/Distributed_File_System_(DFS)#Configure_domain-based_DFS_in_Samba
However, that information is from 2014 ("currently this doesn't work
and requres a patch"
etc).
Has anyone know the state of this now? vfs_samba4 works and is already specified
by
default, "regular" DFS root works fine, for a regular user too.
I found this
https://serverfault.com/questions/414112/site-specific-folder-redirection-through-group-policy
when trying to find a way to have site-specific servers:
1. Create a DFS namespace for your shares, something like \\domain\users
should do.
2. Add both servers to this DFS root.
3. Check the box so that clients prefer (or are required) to use a server
located in their AD site. Yes, it's smart enough to determine this
using
subnets defined in AD Sites & Services
4. Set up replication between the two shares using DFS-R.
5. Make a GPO that redirects to \\domain\users and link it like you would
any other OU. DFS is smart enough to refer them to the closest server
based on info in AD Sites and Services.
The replication is understandable, and I don't even need one.
But the first 3 should be doable, no? The tool used on windows
to configure the first 3 - it doesn't look like it works against
samba domain, but since the wiki is written (and it's an old
entry too), this is supposed to work *somehow* ?
(and if someone knows how to do 5, it'd be very interesting to know).
Thanks,
/mjt