s3: smbd: VFS: Add custom initialization for vfs_widelinks.
authorJeremy Allison <jra@samba.org>
Tue, 7 Apr 2020 00:24:10 +0000 (17:24 -0700)
committerRalph Boehme <slow@samba.org>
Thu, 9 Apr 2020 19:40:35 +0000 (19:40 +0000)
commit886d2c09b84787062c98e26dfccceaba6420cf6c
tree35b0e9f49896b96dc47e19638146da1e4c6984aa
parentf7fe3474298370f592bd06e064712e60cb6181cf
s3: smbd: VFS: Add custom initialization for vfs_widelinks.

As the widelinks logic is now moving into a
vfs_widelinks module, we need to custom load
it after the default module is initialized.
That way no changes to smb.conf files are
needed.

We may revisit this for Samba 5.0 and force
people to change their smb.conf files and
explicitly load this as a vfs module if they
want the insecure widelinks behavior.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
source3/smbd/vfs.c