How do Windows DFS referrals work for laptops away from the office?
[Edit 2014-11-26] I already understand how sites are defined by subnets, etc. But what I want to know is what happens to users that are not fitting within any sites at all? Home users via VPN, for example. The VPN doesn’t supply an IP that is within any of the sites either due to how the VPN system works, so that’s not going to help define a site. Does it treat all DFS namespace targets as exactly equal since the client is in zero sites at the moment? Is there any way to encourage DFSN to treat the DFSN targets in one site as preferred based on proximity or the user’s usual site? (I know how to say “treat X server as preferred when all is equal” but that’s not what I’m asking for here.)
The rest of this text is just background for your interest or entertainment.
I was under the impression that the laptop would retain whatever last site it was at or the site of the last DC it connected to. And then that site would determine which site that laptop is presently at for the purposes of referral ranking.
The reason I ask is because we’re getting some laptop users getting some strange referrals to an office that they’ve never actually been to. And those laptops are having a great connection to the servers in the other sites that they should be connecting to. The strange referral target in this case is a server that isn’t known for being reliable. If it were basing it on some speed or reliability metric, it’s got it completely wrong. The question is just that first line up there, the rest of this text is just background.
The hardware/software involved is: Windows 2008 R2 servers for all things; Windows 7 64-bit and Windows XP 32-bit laptops.
And this is a question about DFS Namespaces, not about DFS Replication.
How DFS Works: DFS Processes and Interactions states the following:
When least expensive target selection is enabled, DFS places targets
in the referral in the following order:
Targets in the same site as the client are listed in random order at
the top of the referral.
Targets outside of the client’s site are listed in order of lowest
cost to highest cost. Referrals with the same cost are grouped
together and within each group the targets are listed in random order.
If the laptop is at a client office, hotel, home, etc, is it still considered to be within a site? If so, I assume that site would be used in the first group of targets above. If it isn’t within a site, I’d assume it skips that first group altogether and just randomly assigns the targets. But the behavior we’re seeing is that it is more like the latter than the former.
Edit: (5/21/2012 3am PT)
It seems that the folders with “Override referral ordering” set to “First among targets of equal cost” get goofy. The goofy part is that the target with that enable seems to be the last in order, not first. I’m unsetting these to see what happens. Will report later.