Set the Ordering Method for Targets in Referrals
发布时间:2026-08-12 | 浏览:1
访问此页面需要授权。 可以尝试 登录 或 更改目录 。
访问此页面需要授权。 可以尝试 更改目录 。
Updated: October 16, 2013
Applies To: Windows Server 2008 R2, Windows Server 2012, Windows Server 2012 R2
A referral is an ordered list of targets that a client computer receives from a domain controller or namespace server when the user accesses a namespace root or folder with targets. After the client receives the referral, the client attempts to access the first target in the list. If the target is not available, the client attempts to access the next target.
Targets on the client's site are always listed first in a referral. Targets outside of the client's site are listed according to the ordering method.
Use the following sections to specify in what order targets should be referred to clients and to understand the different methods of ordering target referrals.
Set the ordering method
Use the following procedure to set the ordering method on the namespace root.
To set the ordering method for targets in namespace root referrals
Click Start , point to Administrative Tools , and then click DFS Management .
Click Start , point to Administrative Tools , and then click DFS Management .
In the console tree, under the Namespaces node, right-click a namespace, and then click Properties .
In the console tree, under the Namespaces node, right-click a namespace, and then click Properties .
On the Referrals tab, select an ordering method.
On the Referrals tab, select an ordering method.
To use Windows PowerShell to set the ordering method for targets in namespace root referrals, use the Set-DfsnRoot cmdlet with one of the following parameters:
EnableSiteCosting specifies the Lowest cost ordering method
EnableInsiteReferrals specifies the Exclude targets outside of the client’s site ordering method
Omitting either parameter specifies the Random order referral ordering method.
Folders with targets inherit the ordering method from the namespace root. You can override the ordering method by using the following procedure.
To set the ordering method for targets in folder referrals
Click Start , point to Administrative Tools , and then click DFS Management .
Click Start , point to Administrative Tools , and then click DFS Management .
In the console tree, under the Namespaces node, right-click a folder with targets, and then click Properties .
In the console tree, under the Namespaces node, right-click a folder with targets, and then click Properties .
On the Referrals tab, select the Exclude targets outside of the client's site check box.
On the Referrals tab, select the Exclude targets outside of the client's site check box.
To use Windows PowerShell to exclude folder targets outside of the client’s site, use the Set-DfsnFolder –EnableInsiteReferrals cmdlet.
Target referral ordering methods
The three ordering methods are:
Exclude targets outside of the client's site
Exclude targets outside of the client's site
In this method, targets are ordered as follows:
Targets in the same AD DS site as the client are listed in random order at the top of the referral.
Targets in the same AD DS 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 random order.
Targets outside of the client’s site are listed in random order.
If no same-site target servers are available, the client computer is referred to a random target server regardless of how expensive the connection is or how distant the target is.
In this method, targets are ordered as follows:
Targets in the same site as the client are listed in random order at the top of the referral.
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 the targets are listed in random order within each group.
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 the targets are listed in random order within each group.
Site link costs are not shown in the DFS Management snap-in. To view site link costs, use the Active Directory Sites and Services snap-in.
Exclude targets outside of the client's site
In this method, the referral contains only the targets that are in the same site as the client. These same-site targets are listed in random order. If no same-site targets exist, the client does not receive a referral and cannot access that portion of the namespace.
Targets that have target priority set to "First among all targets" or "Last among all targets" are still listed in the referral, even if the ordering method is set to Exclude targets outside of the client's site .
Additional references
Tuning DFS Namespaces
Tuning DFS Namespaces
Delegate Management Permissions for DFS Namespaces
Delegate Management Permissions for DFS Namespaces
Last updated on 2013-10-15