summaryrefslogtreecommitdiffstats
path: root/source3/param
diff options
context:
space:
mode:
authorRobin McCorkell <rmccorkell@karoshi.org.uk>2015-02-27 14:52:46 +0000
committerJeremy Allison <jra@samba.org>2015-02-27 22:53:06 +0100
commit13c9774662b74c4188d41bb275b9cb72dcc9df74 (patch)
tree0e6a14daed66ce850d2e382c2788f8e3e7b0d6e6 /source3/param
parent200d0bc3a870f1d7d3c5bcf33fceaa2b99e8299f (diff)
downloadsamba-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.c1
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,