diff options
author | Andreas Schneider <asn@samba.org> | 2015-03-09 20:37:45 +0100 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2015-07-17 01:38:15 +0200 |
commit | c5d91e0e0f750329d3e99c8bd9345aea5a475d94 (patch) | |
tree | 3c08b6c4a4786e959b2c79110e7c050c598acd9a /source4/torture/wscript_build | |
parent | 547af4c3c7ffbae3f828251b12fa5193c49cfb1b (diff) | |
download | samba-c5d91e0e0f750329d3e99c8bd9345aea5a475d94.tar.gz |
s4-torture: Make the backupkey test as a noop with MIT Kerberos.
The test is planned but will be skipped in the MIT case this way. We
need to rewrite the test using a proper cryto/tls library.
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'source4/torture/wscript_build')
-rwxr-xr-x | source4/torture/wscript_build | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/source4/torture/wscript_build b/source4/torture/wscript_build index 5f5203301c5..9231bba6fe7 100755 --- a/source4/torture/wscript_build +++ b/source4/torture/wscript_build @@ -32,12 +32,11 @@ bld.RECURSE('winbind') bld.RECURSE('libnetapi') bld.RECURSE('libsmbclient') -heimdal_specific = dict() -heimdal_specific['ndr'] = ('','') -heimdal_specific['rpc'] = ('','') +heimdal_specific = dict(source='', deps='') + if bld.CONFIG_SET('AD_DC_BUILD_IS_ENABLED'): - heimdal_specific['rpc'] = (' rpc/backupkey.c rpc/spoolss_notify.c', - ' RPC_NDR_BACKUPKEY SMB_SERVER dcerpc_server ntvfs') + heimdal_specific['source'] += ' rpc/spoolss_notify.c' + heimdal_specific['deps'] += ' SMB_SERVER dcerpc_server ntvfs' bld.SAMBA_SUBSYSTEM('TORTURE_NDR', source='ndr/ndr.c ndr/winreg.c ndr/atsvc.c ndr/lsa.c ndr/epmap.c ndr/dfs.c ndr/netlogon.c ndr/drsuapi.c ndr/spoolss.c ndr/ntprinting.c ndr/samr.c ndr/dfsblob.c ndr/drsblobs.c ndr/nbt.c ndr/ntlmssp.c ndr/string.c ndr/backupkey.c ndr/witness.c', @@ -61,7 +60,6 @@ bld.SAMBA_MODULE('torture_rpc', rpc/spoolss.c rpc/spoolss_win.c rpc/spoolss_access.c - rpc/spoolss_notify.c rpc/unixinfo.c rpc/samr.c rpc/samr_accessmask.c @@ -100,7 +98,9 @@ bld.SAMBA_MODULE('torture_rpc', rpc/bind.c rpc/fsrvp.c rpc/clusapi.c - rpc/witness.c''' + heimdal_specific['rpc'][0], + rpc/witness.c + rpc/backupkey.c + ''' + heimdal_specific['source'], autoproto='rpc/proto.h', subsystem='smbtorture', init_function='torture_rpc_init', @@ -145,7 +145,8 @@ bld.SAMBA_MODULE('torture_rpc', RPC_NDR_FSRVP RPC_NDR_CLUSAPI RPC_NDR_WITNESS - ''' + heimdal_specific['rpc'][1], + RPC_NDR_BACKUPKEY + ''' + heimdal_specific['deps'], internal_module=True) bld.RECURSE('drs') |