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/torture/wscript_build | |
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/torture/wscript_build')
-rwxr-xr-x | source4/torture/wscript_build | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/source4/torture/wscript_build b/source4/torture/wscript_build index a7a14fd15cc..0a5c5ccaf79 100755 --- a/source4/torture/wscript_build +++ b/source4/torture/wscript_build @@ -32,11 +32,13 @@ bld.RECURSE('winbind') bld.RECURSE('libnetapi') bld.RECURSE('libsmbclient') -heimdal_specific = dict(source='', deps='') +ntvfs_specific = dict(source='', deps='') -if bld.CONFIG_SET('AD_DC_BUILD_IS_ENABLED'): - heimdal_specific['source'] += ' rpc/spoolss_notify.c' - heimdal_specific['deps'] += ' SMB_SERVER dcerpc_server ntvfs' +# Yes, the spoolss_notify test uses the NTVFS file server to run the SMB server expected +# to handle the RPC callback! +if bld.CONFIG_SET('WITH_NTVFS_FILESERVER'): + ntvfs_specific['source'] += ' rpc/spoolss_notify.c' + ntvfs_specific['deps'] += ' SMB_SERVER dcerpc_server ntvfs' bld.SAMBA_SUBSYSTEM('TORTURE_NDR', source='''ndr/ndr.c @@ -119,7 +121,7 @@ bld.SAMBA_MODULE('torture_rpc', rpc/clusapi.c rpc/witness.c rpc/backupkey.c - ''' + heimdal_specific['source'], + ''' + ntvfs_specific['source'], autoproto='rpc/proto.h', subsystem='smbtorture', init_function='torture_rpc_init', @@ -165,7 +167,7 @@ bld.SAMBA_MODULE('torture_rpc', RPC_NDR_CLUSAPI RPC_NDR_WITNESS RPC_NDR_BACKUPKEY - ''' + heimdal_specific['deps'], + ''' + ntvfs_specific['deps'], internal_module=True) bld.RECURSE('drs') |