config SAMBA4_SERVER_NETBIOS
	bool "NetBIOS support"
	depends on PACKAGE_samba4-server
	help
		installs: nmbd (daemon)

		Announce Samba resources via NetBIOS using the nmbd daemon
		WSD (Web Services for Devices) replaces the functionality of NetBIOS and is provided by the wsdd2 package (selected by default).
		Note: As of Windows 10 Fall Creators Update (1709) NetBIOS isn't supported unless the old SMB1 feature is reinstalled (not recommended).
		Network shares can be directly accessed via network paths '\\hostname\sharename' and mounted via 'map network drive' without NetBIOS or WSD.
	default y

config SAMBA4_SERVER_AVAHI
	bool "Avahi support"
	depends on PACKAGE_samba4-server
	select SAMBA4_SERVER_VFS
	help
		Announce Samba resources via DNS/DNS-SD using the Avahi daemon, for Linux/Mac clients.
	default y

config SAMBA4_SERVER_VFS
	bool "Common VFS modules"
	depends on PACKAGE_samba4-server
	help
		installs:
			modules: (vfs_btrfs) vfs_fruit vfs_shadow_copy2 vfs_recycle vfs_fake_perms vfs_readonly vfs_cap vfs_offline vfs_crossrename vfs_catia vfs_streams_xattr vfs_default_quota

		Commonly used VFS modules, vfs_btrfs requires kmod-fs-btrfs to be selected separately
	default y

config SAMBA4_SERVER_VFSX
	bool "Extended VFS modules"
	depends on PACKAGE_samba4-server
	help
		installs:
			modules: vfs_virusfilter vfs_shell_snap vfs_commit vfs_worm vfs_xattr_tdb vfs_aio_fork vfs_aio_pthread (vfs_linux_xfs_sgid) vfs_netatalk vfs_dirsort vfs_fileid

		Additional VFS modules that aren't commonly used, vfs_linux_xfs_sgid requires kmod-fs-xfs to be selected separately
	default n

config SAMBA4_SERVER_AD_DC
	bool "Active Directory Domain Controller support (EXPERIMENTAL)"
	depends on PACKAGE_samba4-server
	select SAMBA4_SERVER_VFS
	help
		installs: samba (meta-daemon) PyCryptodome ntlm_auth
			scripts: samba-tool

		Run as a Active Directory Domain Controller
		see: https://wiki.samba.org/index.php/Setting_up_Samba_as_an_Active_Directory_Domain_Controller
		HINT: see section (# Using the Domain Controller as a File Server)
		NOTE: Extroot is recommend for this setup, as it is not optimized to run completely from RAM/tempfs!
	default n
