bool lp_smb3_unix_extensions(void)
{
+ /*
+ * FIXME: If this gets always enabled, check source3/selftest/tests.py
+ * and source3/wscript for HAVE_SMB3_UNIX_EXTENSIONS.
+ */
#if defined(DEVELOPER)
return lp__smb3_unix_extensions();
#else
have_ldwrap = ("HAVE_LDWRAP" in config_hash)
with_pthreadpool = ("WITH_PTHREADPOOL" in config_hash)
+have_smb3_unix_extensions = ("HAVE_SMB3_UNIX_EXTENSIONS" in config_hash)
+
def is_module_enabled(module):
if module in config_hash["STRING_SHARED_MODULES"]:
return True
smbtorture3,
"-N 1000 -o 2000"])
-planpythontestsuite("fileserver", "samba.tests.smb3unix")
+if have_smb3_unix_extensions:
+ planpythontestsuite("fileserver", "samba.tests.smb3unix")
planpythontestsuite("fileserver", "samba.tests.reparsepoints")
planpythontestsuite("fileserver_smb1", "samba.tests.smb2symlink")
planpythontestsuite("fileserver_smb1", "samba.tests.smb1posix")
if Options.options.developer:
conf.ADD_CFLAGS('-DDEVELOPER -DDEBUG_PASSWORD')
conf.env.developer = True
+ conf.DEFINE('HAVE_SMB3_UNIX_EXTENSIONS', '1')
if sys.platform != 'openbsd5':
conf.ADD_LDFLAGS("-Wl,--export-dynamic", testflags=True)