diff options
author | Robin McCorkell <rmccorkell@karoshi.org.uk> | 2015-02-27 14:52:46 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2015-02-27 22:53:06 +0100 |
commit | 13c9774662b74c4188d41bb275b9cb72dcc9df74 (patch) | |
tree | 0e6a14daed66ce850d2e382c2788f8e3e7b0d6e6 /source3/param | |
parent | 200d0bc3a870f1d7d3c5bcf33fceaa2b99e8299f (diff) | |
download | samba-13c9774662b74c4188d41bb275b9cb72dcc9df74.tar.gz samba-13c9774662b74c4188d41bb275b9cb72dcc9df74.tar.xz samba-13c9774662b74c4188d41bb275b9cb72dcc9df74.zip |
MSDFS referral shuffling
Shuffle MSDFS referral list in smbd in accordance with [MS-DFSC] 3.2.1.1
When parsing an MSDFS symlink, the names are shuffled with a Fisher-Yates
algorithm.
Signed-off-by: Robin McCorkell <rmccorkell@karoshi.org.uk>
Reviewed-by: David Disseldorp <ddiss@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'source3/param')
-rw-r--r-- | source3/param/loadparm.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c index da50e3a582..4a7484349f 100644 --- a/source3/param/loadparm.c +++ b/source3/param/loadparm.c @@ -222,6 +222,7 @@ static struct loadparm_service sDefault = .inherit_acls = false, .inherit_owner = false, .msdfs_root = false, + .msdfs_shuffle_referrals = false, .use_client_driver = false, .default_devmode = true, .force_printername = false, |