[Samba] Question about DFS

Jeremy Allison jra at samba.org
Thu Apr 28 18:51:24 UTC 2016

On Thu, Apr 28, 2016 at 10:08:54AM -0700, Jason Chang wrote:
> 1. What is the ordering method of a DFS Share with multiple servers (e.g.
> msdfs:serverB\\share,serverC\\share linkb ; Source:
> https://www.samba.org/samba/docs/man/Samba-HOWTO-Collection/msdfs.html)?
> With a Microsoft DFS i have 3 options regarding the target. (Targets in a
> client's site are listed first in a referral. Nevertheless i can choose
> between: Random order, Lowest cost, Exclude targets outside of the client's
> site). Is it possible to achieve something similar with a samba DFS?

4.4.x and 4.3.x have "msdfs shuffle referrals"

        <para>If set to <constant>yes</constant>, Samba will shuffle
        Dfs referrals for a given Dfs link if multiple are available,
        allowing for load balancing across clients. For more information
        on setting up a Dfs tree on Samba, refer to the MSDFS chapter in
        the Samba3-HOWTO book.</para>

More information about the samba mailing list