[PATCH] loadparm: check for VFS modules required by AD DC role

David Disseldorp ddiss at samba.org
Mon Nov 26 18:36:19 UTC 2018


When Samba is running as an AD compatible 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.

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

Cheers, David
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-loadparm-check-for-VFS-modules-required-by-AD-DC-rol.patch
Type: text/x-patch
Size: 2825 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20181126/4bc26c0e/0001-loadparm-check-for-VFS-modules-required-by-AD-DC-rol.bin>


More information about the samba-technical mailing list