2010-03-28 09:48:49 +11:00
#!/usr/bin/env python
2010-10-21 17:12:31 +11:00
bld.SAMBA_SUBSYSTEM('DCERPC_SHARE',
2016-05-11 05:33:17 +12:00
source='common/share_info.c',
2010-10-21 17:12:31 +11:00
autoproto='common/share.h',
2018-11-06 12:10:07 +13:00
deps='ldb share',
2016-05-11 05:33:17 +12:00
enabled=bld.CONFIG_SET('WITH_NTVFS_FILESERVER'),
2010-10-21 17:12:31 +11:00
)
2017-04-21 11:29:48 +12:00
bld.SAMBA_SUBSYSTEM('DCERPC_SID_HELPER',
source='common/sid_helper.c',
autoproto='common/sid_helper.h',
deps='ldb',
enabled=bld.AD_DC_BUILD_IS_ENABLED(),
)
2010-03-17 22:07:42 +11:00
bld.SAMBA_SUBSYSTEM('DCERPC_COMMON',
2018-11-13 09:42:17 +01:00
source='common/server_info.c common/forward.c common/loadparm.c',
2010-03-17 22:07:42 +11:00
autoproto='common/proto.h',
2018-11-13 09:42:17 +01:00
deps='ldb DCERPC_SHARE DCERPC_SID_HELPER',
2012-06-01 15:38:56 +03:00
enabled=bld.AD_DC_BUILD_IS_ENABLED()
2010-03-17 22:07:42 +11:00
)
2012-05-21 12:45:12 +03:00
bld.SAMBA_LIBRARY('dcerpc_server',
2019-10-29 11:04:43 +01:00
source='dcerpc_server.c',
2012-05-21 12:45:12 +03:00
pc_files='dcerpc_server.pc',
2018-11-29 16:47:58 +01:00
deps='LIBCLI_AUTH ndr samba_server_gensec service auth',
2019-10-03 18:05:04 +02:00
public_deps='dcerpc dcerpc-server-core',
2012-05-21 12:45:12 +03:00
autoproto='dcerpc_server_proto.h',
public_headers='dcerpc_server.h',
vnum='0.0.1',
2012-06-01 15:38:56 +03:00
enabled=bld.AD_DC_BUILD_IS_ENABLED()
2012-05-21 12:45:12 +03:00
)
2010-03-17 22:07:42 +11:00
bld.SAMBA_MODULE('dcerpc_rpcecho',
source='echo/rpc_echo.c',
subsystem='dcerpc_server',
init_function='dcerpc_server_rpcecho_init',
2012-06-01 15:38:56 +03:00
deps='ndr-standard events'
2010-03-17 22:07:42 +11:00
)
bld.SAMBA_MODULE('dcerpc_epmapper',
source='epmapper/rpc_epmapper.c',
subsystem='dcerpc_server',
init_function='dcerpc_server_epmapper_init',
2012-06-01 15:38:56 +03:00
deps='NDR_EPMAPPER'
2010-03-17 22:07:42 +11:00
)
bld.SAMBA_MODULE('dcerpc_remote',
source='remote/dcesrv_remote.c',
subsystem='dcerpc_server',
init_function='dcerpc_server_remote_init',
2012-06-01 15:38:56 +03:00
deps='LIBCLI_SMB ndr-table'
2010-03-17 22:07:42 +11:00
)
bld.SAMBA_MODULE('dcerpc_srvsvc',
source='srvsvc/dcesrv_srvsvc.c srvsvc/srvsvc_ntvfs.c',
autoproto='srvsvc/proto.h',
subsystem='dcerpc_server',
init_function='dcerpc_server_srvsvc_init',
2016-05-11 05:33:17 +12:00
deps='DCERPC_COMMON NDR_SRVSVC share ntvfs',
enabled=bld.CONFIG_SET('WITH_NTVFS_FILESERVER')
2010-03-17 22:07:42 +11:00
)
bld.SAMBA_MODULE('dcerpc_wkssvc',
source='wkssvc/dcesrv_wkssvc.c',
subsystem='dcerpc_server',
init_function='dcerpc_server_wkssvc_init',
2012-06-01 15:38:56 +03:00
deps='DCERPC_COMMON ndr-standard'
2010-03-17 22:07:42 +11:00
)
bld.SAMBA_MODULE('dcerpc_unixinfo',
source='unixinfo/dcesrv_unixinfo.c',
subsystem='dcerpc_server',
init_function='dcerpc_server_unixinfo_init',
2012-06-01 15:38:56 +03:00
deps='DCERPC_COMMON samdb NDR_UNIXINFO LIBWBCLIENT_OLD'
2010-03-17 22:07:42 +11:00
)
bld.SAMBA_MODULE('dcesrv_samr',
source='samr/dcesrv_samr.c samr/samr_password.c',
autoproto='samr/proto.h',
subsystem='dcerpc_server',
init_function='dcerpc_server_samr_init',
2019-06-26 16:41:05 +12:00
deps='samdb DCERPC_COMMON ndr-standard auth4_sam GNUTLS_HELPERS'
2010-03-17 22:07:42 +11:00
)
bld.SAMBA_MODULE('dcerpc_winreg',
source='winreg/rpc_winreg.c',
subsystem='dcerpc_server',
init_function='dcerpc_server_winreg_init',
2011-02-10 20:21:11 +11:00
deps='registry ndr-standard',
2016-05-11 05:33:17 +12:00
internal_module=True,
enabled=bld.CONFIG_SET('WITH_NTVFS_FILESERVER')
2010-03-17 22:07:42 +11:00
)
bld.SAMBA_MODULE('dcerpc_netlogon',
source='netlogon/dcerpc_netlogon.c',
subsystem='dcerpc_server',
init_function='dcerpc_server_netlogon_init',
2017-06-26 19:24:40 +12:00
deps='''DCERPC_COMMON RPC_NDR_IRPC COMMON_SCHANNEL ndr-standard auth4_sam samba-hostconfig DSDB_MODULE_HELPERS
util_str_escape'''
2010-03-17 22:07:42 +11:00
)
bld.SAMBA_MODULE('dcerpc_lsarpc',
source='lsa/dcesrv_lsa.c lsa/lsa_init.c lsa/lsa_lookup.c',
autoproto='lsa/proto.h',
subsystem='dcerpc_server',
init_function='dcerpc_server_lsa_init',
2012-08-10 11:37:28 +02:00
deps='samdb DCERPC_COMMON ndr-standard LIBCLI_AUTH NDR_DSSETUP com_err samba-security UTIL_LSARPC'
2010-03-17 22:07:42 +11:00
)
2019-07-31 16:13:38 +12:00
bld.SAMBA_MODULE('dcerpc_backupkey',
source='backupkey/dcesrv_backupkey.c ',
autoproto='backupkey/proto.h',
subsystem='dcerpc_server',
init_function='dcerpc_server_backupkey_init',
2019-08-16 16:08:57 +12:00
deps='samdb DCERPC_COMMON NDR_BACKUPKEY RPC_NDR_BACKUPKEY gnutls GNUTLS_HELPERS',
2019-07-31 16:13:38 +12:00
)
2010-07-28 00:03:49 +04:00
2010-03-17 22:07:42 +11:00
bld.SAMBA_MODULE('dcerpc_drsuapi',
source='drsuapi/dcesrv_drsuapi.c drsuapi/updaterefs.c drsuapi/getncchanges.c drsuapi/addentry.c drsuapi/writespn.c drsuapi/drsutil.c',
subsystem='dcerpc_server',
init_function='dcerpc_server_drsuapi_init',
2012-08-10 11:37:28 +02:00
deps='samdb DCERPC_COMMON NDR_DRSUAPI samba-security'
2010-03-17 22:07:42 +11:00
)
bld.SAMBA_MODULE('dcerpc_browser',
source='browser/dcesrv_browser.c',
subsystem='dcerpc_server',
init_function='dcerpc_server_browser_init',
2012-06-01 15:38:56 +03:00
deps='DCERPC_COMMON NDR_BROWSER'
2010-03-17 22:07:42 +11:00
)
2010-09-23 11:39:47 -07:00
bld.SAMBA_MODULE('dcerpc_eventlog',
source='eventlog/dcesrv_eventlog6.c',
subsystem='dcerpc_server',
init_function='dcerpc_server_eventlog6_init',
2016-07-09 17:34:39 +12:00
deps='DCERPC_COMMON'
2010-09-23 11:39:47 -07:00
)
2010-03-17 22:07:42 +11:00
2011-09-27 16:53:45 +10:00
bld.SAMBA_MODULE('dcerpc_dnsserver',
source='dnsserver/dcerpc_dnsserver.c dnsserver/dnsutils.c dnsserver/dnsdata.c dnsserver/dnsdb.c',
subsystem='dcerpc_server',
init_function='dcerpc_server_dnsserver_init',
2018-11-06 12:10:07 +13:00
deps='DCERPC_COMMON dnsserver_common netif'
2011-09-27 16:53:45 +10:00
)
2010-03-17 22:07:42 +11:00
2010-11-15 03:19:44 +01:00
bld.SAMBA_MODULE('service_dcerpc',
2010-03-17 22:07:42 +11:00
source='service_rpc.c',
autoproto='service_rpc.h',
subsystem='service',
init_function='server_service_rpc_init',
2010-10-30 11:33:53 +11:00
internal_module=False,
2012-06-01 15:38:56 +03:00
deps='dcerpc_server'
2010-03-17 22:07:42 +11:00
)
2019-11-22 10:06:57 +13:00
bld.SAMBA_BINARY(
'test_rpc_dns_server_dnsutils',
source='tests/rpc_dns_server_dnsutils_test.c',
deps='''
2018-11-06 12:10:07 +13:00
dnsserver_common
2018-11-29 16:48:42 +01:00
dcerpc_server
2018-11-06 12:10:07 +13:00
cmocka
talloc
2019-11-22 10:06:57 +13:00
''',
for_selftest=True,
enabled=bld.AD_DC_BUILD_IS_ENABLED()
)