[PATCH] DFS referral shuffling

Steve French smfrench at gmail.com
Mon Feb 23 16:19:48 MST 2015

On Mon, Feb 23, 2015 at 1:23 PM, Richard Sharpe <realrichardsharpe at gmail.com
> wrote:

> On Mon, Feb 23, 2015 at 11:20 AM, Robin McCorkell
> <rmccorkell at karoshi.org.uk> wrote:
> > Hi,
> >
> > Any chance of getting this patch reviewed? DFS referral shuffling allows
> > load balancing of a DFS share for dumb clients, which is one of the
> > primary uses of DFS, so I'd imagine it'd be useful for many people.
> Shouldn't we fix smbclient and mount.cifs to have the correct behavior?
Makes sense to me to fix the clients - probably should shuffle, but not
clear whether nearness should be a factor (same subnet at least?) and what
criteria to use (or to allow to be configured) on client to decide which
share to try first.

Also (at least for mount.cifs) but also for smbclient presumably need to
fix it so we cache some of the other referrals so we can reconnect to a
copy if the network connection to the first one fails and we can't
reconnect to the first one.



More information about the samba-technical mailing list