[PATCH] DFS referral shuffling
ddiss at suse.de
Tue Feb 24 16:36:00 MST 2015
On Tue, 24 Feb 2015 19:37:13 +0000, Robin McCorkell wrote:
> Actually, referral shuffling is mentioned in the spec, [MS-DFSC] 188.8.131.52:
> > The DFS server places the target servers in the referral response in
> the following order:
> > - Targets in the same site as the client are listed at the top of the
> referral response in random order.
> > - Targets outside the client's site are appended to the response in
> random order.
Yep, this makes it pretty clear that the server is responsible for
guiding the client with a referral list optimised for load balancing and
> Besides, implementing referral shuffling on the server side makes the
> admin's life much easier - load balancing is guaranteed by the server
> configuration, rather than relying on updated clients. But I agree: the
> clients should perform heuristics to determine the best server to
> connect to, rather than blindly picking the first one that works.
FWIW, this behaviour (bug 10123) was recently changed so that smbclient
now uses a cached connection if present, before fallback to the top
entry in the referrals list.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 181 bytes
Desc: OpenPGP digital signature
More information about the samba-technical