torture: beginning of a mdssvc RPC service test-suite
[samba.git] / source4 / torture / wscript_build
index 8433d620b01a53fd73184fb7cbe5dfd2f28d0cc9..1908f7eac3110e2326b536314e9b3b7c51b1b0b2 100644 (file)
@@ -59,6 +59,7 @@ bld.SAMBA_SUBSYSTEM('TORTURE_NDR',
                   ndr/samr.c
                   ndr/dfsblob.c
                   ndr/drsblobs.c
+                  ndr/dnsp.c
                   ndr/nbt.c
                   ndr/ntlmssp.c
                   ndr/string.c
@@ -83,7 +84,8 @@ bld.SAMBA_SUBSYSTEM('IREMOTEWINSPOOL_COMMON',
 
 torture_rpc_backupkey = ''
 if bld.AD_DC_BUILD_IS_ENABLED():
-    if bld.CONFIG_SET('HAVE_GNUTLS_X509_CRT_SET_SUBJECT_UNIQUE_ID'):
+    if (bld.CONFIG_SET('HAVE_GNUTLS_PRIVKEY_EXPORT_X509') and
+        bld.CONFIG_SET('HAVE_GNUTLS_X509_CRT_SET_SUBJECT_UNIQUE_ID')):
         torture_rpc_backupkey = 'rpc/backupkey.c'
     else:
         torture_rpc_backupkey = 'rpc/backupkey_heimdal.c'
@@ -119,7 +121,6 @@ bld.SAMBA_MODULE('torture_rpc',
                         rpc/remact.c
                         rpc/mgmt.c
                         rpc/scanner.c
-                        rpc/autoidl.c
                         rpc/countcalls.c
                         rpc/testjoin.c
                         rpc/schannel.c
@@ -144,6 +145,7 @@ bld.SAMBA_MODULE('torture_rpc',
                         rpc/witness.c
                         rpc/iremotewinspool.c
                         rpc/iremotewinspool_driver.c
+                        rpc/mdssvc.c
                         ''' + torture_rpc_backupkey + ntvfs_specific['source'],
                  autoproto='rpc/proto.h',
                  subsystem='smbtorture',
@@ -192,6 +194,8 @@ bld.SAMBA_MODULE('torture_rpc',
                       RPC_NDR_WINSPOOL
                       IREMOTEWINSPOOL_COMMON
                       printer_driver
+                      RPC_NDR_MDSSVC
+                      mdssvc
                       ''' % samba_net + ntvfs_specific['deps'],
                  internal_module=True,
                  enabled=bld.PYTHON_BUILD_IS_ENABLED())