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