diff options
author | Andrew Bartlett <abartlet@samba.org> | 2015-10-10 09:30:17 +1300 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2015-10-23 22:27:30 +0200 |
commit | 71dcc76b70d8e249624f9bf057fc4fd3a44125e1 (patch) | |
tree | 885ea66f041ef4b751510364131f4545a98b05a7 /source4/smb_server | |
parent | 0ccf842e12c0b5de52a89f1b6d74eba3a5e3feb5 (diff) | |
download | samba-71dcc76b70d8e249624f9bf057fc4fd3a44125e1.tar.gz |
build: Enable NTVFS file server to be omitted
We now only build it by default with --enable-sefltest, or otherwise
if requested.
The NTVFS file server still has features not present in the smbd file
server, such as a CIFS/SMB proxy, and a radically different design,
but it is also not undergoing any ongoing development so this keeps it
in a safe state for care and maintaince, with less of a security risk
if such an issue were to come up.
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'source4/smb_server')
-rw-r--r-- | source4/smb_server/smb/wscript_build | 2 | ||||
-rw-r--r-- | source4/smb_server/smb2/wscript_build | 2 | ||||
-rw-r--r-- | source4/smb_server/wscript_build | 4 |
3 files changed, 4 insertions, 4 deletions
diff --git a/source4/smb_server/smb/wscript_build b/source4/smb_server/smb/wscript_build index a17de06e637..3e3df21431d 100644 --- a/source4/smb_server/smb/wscript_build +++ b/source4/smb_server/smb/wscript_build @@ -5,6 +5,6 @@ bld.SAMBA_SUBSYSTEM('SMB_PROTOCOL', autoproto='smb_proto.h', deps='dfs_server_ad', public_deps='ntvfs LIBPACKET samba-credentials samba_server_gensec', - enabled=bld.AD_DC_BUILD_IS_ENABLED() + enabled=bld.CONFIG_SET('WITH_NTVFS_FILESERVER') ) diff --git a/source4/smb_server/smb2/wscript_build b/source4/smb_server/smb2/wscript_build index 18a2b29b9f0..7866ee93949 100644 --- a/source4/smb_server/smb2/wscript_build +++ b/source4/smb_server/smb2/wscript_build @@ -4,6 +4,6 @@ bld.SAMBA_SUBSYSTEM('SMB2_PROTOCOL', source='receive.c negprot.c sesssetup.c tcon.c fileio.c fileinfo.c find.c keepalive.c', autoproto='smb2_proto.h', public_deps='ntvfs LIBPACKET LIBCLI_SMB2 samba_server_gensec NDR_DFSBLOBS', - enabled=bld.AD_DC_BUILD_IS_ENABLED() + enabled=bld.CONFIG_SET('WITH_NTVFS_FILESERVER') ) diff --git a/source4/smb_server/wscript_build b/source4/smb_server/wscript_build index bfeba0e468a..78298d9e9f2 100644 --- a/source4/smb_server/wscript_build +++ b/source4/smb_server/wscript_build @@ -7,14 +7,14 @@ bld.SAMBA_MODULE('service_smb', init_function='server_service_smb_init', deps='SMB_SERVER netif shares samba-hostconfig', internal_module=False, - enabled=bld.AD_DC_BUILD_IS_ENABLED() + enabled=bld.CONFIG_SET('WITH_NTVFS_FILESERVER') ) bld.SAMBA_SUBSYSTEM('SMB_SERVER', source='handle.c tcon.c session.c blob.c management.c smb_server.c', autoproto='smb_server_proto.h', public_deps='share LIBPACKET SMB_PROTOCOL SMB2_PROTOCOL', - enabled=bld.AD_DC_BUILD_IS_ENABLED() + enabled=bld.CONFIG_SET('WITH_NTVFS_FILESERVER') ) bld.RECURSE('smb') |