MSDFS referral shuffling
authorRobin McCorkell <rmccorkell@karoshi.org.uk>
Fri, 27 Feb 2015 14:52:46 +0000 (14:52 +0000)
committerJeremy Allison <jra@samba.org>
Fri, 27 Feb 2015 21:53:06 +0000 (22:53 +0100)
commit13c9774662b74c4188d41bb275b9cb72dcc9df74
tree0e6a14daed66ce850d2e382c2788f8e3e7b0d6e6
parent200d0bc3a870f1d7d3c5bcf33fceaa2b99e8299f
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>
docs-xml/smbdotconf/vfs/msdfsshufflereferrals.xml [new file with mode: 0644]
lib/param/param_table.c
source3/param/loadparm.c
source3/smbd/msdfs.c