1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-11 05:18:09 +03:00
samba-mirror/source3/param
David Disseldorp 4d4443d1e5 loadparm: check for AD DC required VFS modules
When Samba is running as a domain controller and the "vfs objects"
parameter is not set, then the dfs_samba4 and acl_xattr modules are
automatically enabled.
However, if the "vfs objects" is defined, then the setting is left
as-is. This means that attempts to us other VFS modules have the side
effect of disabling the dfs_samba4 and acl_xattr modules, causing
unexpected behaviour, which is then blamed on the VFS modules that were
explicitly defined.

This change ensures that when running as a domain controller, Samba logs
an error if the required VFS modules are not enabled by an explicit
"vfs objects" definition.

Bug: https://bugzilla.samba.org/show_bug.cgi?id=10560

Signed-off-by: David Disseldorp <ddiss@samba.org>
Reviewed-by: Björn Jacke <bjacke@samba.org>
2020-01-03 20:55:29 +00:00
..
loadparm_ctx.c param: remove now unused lp_string() 2019-11-27 10:25:38 +00:00
loadparm.c loadparm: check for AD DC required VFS modules 2020-01-03 20:55:29 +00:00
pyparam.c s3: squash 'cast between incompatible function types' warning 2019-05-16 17:55:17 +00:00
service.c smbdotconf: mark "usershare path" with substitution="1" 2019-11-27 10:25:36 +00:00
test_lp_load.c s3:param: Use C99 initializer for poptOption in test_lp_load 2019-01-28 10:29:15 +01:00
util.c Change all uses of uint32/16/8 in proto.h to uint32_t/16_t/8_t. 2015-04-29 23:42:20 +02:00
wscript_build build: Remove bld.gen_python_environments() 2019-03-21 04:06:14 +00:00