3 bld
.SAMBA_SUBSYSTEM('DCERPC_SHARE',
4 source
='common/server_info.c common/share_info.c',
5 autoproto
='common/share.h',
7 enabled
=bld
.AD_DC_BUILD_IS_ENABLED()
10 bld
.SAMBA_SUBSYSTEM('DCERPC_COMMON',
11 source
='common/forward.c common/reply.c dcesrv_auth.c common/loadparm.c',
12 autoproto
='common/proto.h',
13 deps
='ldb DCERPC_SHARE samba_server_gensec',
14 enabled
=bld
.AD_DC_BUILD_IS_ENABLED()
17 bld
.SAMBA_LIBRARY('dcerpc_server',
18 source
='dcerpc_server.c dcesrv_mgmt.c handles.c',
19 pc_files
='dcerpc_server.pc',
20 deps
='LIBCLI_AUTH ndr samba_server_gensec dcerpc_remote service auth',
22 autoproto
='dcerpc_server_proto.h',
23 public_headers
='dcerpc_server.h',
25 enabled
=bld
.AD_DC_BUILD_IS_ENABLED()
28 bld
.SAMBA_MODULE('dcerpc_rpcecho',
29 source
='echo/rpc_echo.c',
30 subsystem
='dcerpc_server',
31 init_function
='dcerpc_server_rpcecho_init',
32 deps
='ndr-standard events'
36 bld
.SAMBA_MODULE('dcerpc_epmapper',
37 source
='epmapper/rpc_epmapper.c',
38 subsystem
='dcerpc_server',
39 init_function
='dcerpc_server_epmapper_init',
44 bld
.SAMBA_MODULE('dcerpc_remote',
45 source
='remote/dcesrv_remote.c',
46 subsystem
='dcerpc_server',
47 init_function
='dcerpc_server_remote_init',
48 deps
='LIBCLI_SMB ndr-table'
52 bld
.SAMBA_MODULE('dcerpc_srvsvc',
53 source
='srvsvc/dcesrv_srvsvc.c srvsvc/srvsvc_ntvfs.c',
54 autoproto
='srvsvc/proto.h',
55 subsystem
='dcerpc_server',
56 init_function
='dcerpc_server_srvsvc_init',
57 deps
='DCERPC_COMMON NDR_SRVSVC share ntvfs'
61 bld
.SAMBA_MODULE('dcerpc_wkssvc',
62 source
='wkssvc/dcesrv_wkssvc.c',
63 subsystem
='dcerpc_server',
64 init_function
='dcerpc_server_wkssvc_init',
65 deps
='DCERPC_COMMON ndr-standard'
69 bld
.SAMBA_MODULE('dcerpc_unixinfo',
70 source
='unixinfo/dcesrv_unixinfo.c',
71 subsystem
='dcerpc_server',
72 init_function
='dcerpc_server_unixinfo_init',
73 deps
='DCERPC_COMMON samdb NDR_UNIXINFO LIBWBCLIENT_OLD'
77 bld
.SAMBA_MODULE('dcesrv_samr',
78 source
='samr/dcesrv_samr.c samr/samr_password.c',
80 autoproto
='samr/proto.h',
81 subsystem
='dcerpc_server',
82 init_function
='dcerpc_server_samr_init',
83 deps
='samdb DCERPC_COMMON ndr-standard auth4_sam'
87 bld
.SAMBA_MODULE('dcerpc_winreg',
88 source
='winreg/rpc_winreg.c',
89 subsystem
='dcerpc_server',
90 init_function
='dcerpc_server_winreg_init',
91 deps
='registry ndr-standard',
96 bld
.SAMBA_MODULE('dcerpc_netlogon',
97 source
='netlogon/dcerpc_netlogon.c',
98 subsystem
='dcerpc_server',
99 init_function
='dcerpc_server_netlogon_init',
100 deps
='DCERPC_COMMON RPC_NDR_IRPC COMMON_SCHANNEL ndr-standard auth4_sam samba-hostconfig DSDB_MODULE_HELPERS'
104 bld
.SAMBA_MODULE('dcerpc_lsarpc',
105 source
='lsa/dcesrv_lsa.c lsa/lsa_init.c lsa/lsa_lookup.c',
107 autoproto
='lsa/proto.h',
108 subsystem
='dcerpc_server',
109 init_function
='dcerpc_server_lsa_init',
110 deps
='samdb DCERPC_COMMON ndr-standard LIBCLI_AUTH NDR_DSSETUP com_err samba-security UTIL_LSARPC'
114 bld
.SAMBA_MODULE('dcerpc_backupkey',
115 source
='backupkey/dcesrv_backupkey.c ',
116 autoproto
='backupkey/proto.h',
117 subsystem
='dcerpc_server',
118 init_function
='dcerpc_server_backupkey_init',
119 deps
='samdb DCERPC_COMMON NDR_BACKUPKEY RPC_NDR_BACKUPKEY krb5 hx509 hcrypto'
123 bld
.SAMBA_MODULE('dcerpc_spoolss',
124 source
='spoolss/dcesrv_spoolss.c',
125 subsystem
='dcerpc_server',
126 init_function
='dcerpc_server_spoolss_init',
127 deps
='DCERPC_COMMON NDR_SPOOLSS ntptr RPC_NDR_SPOOLSS',
132 bld
.SAMBA_MODULE('dcerpc_drsuapi',
133 source
='drsuapi/dcesrv_drsuapi.c drsuapi/updaterefs.c drsuapi/getncchanges.c drsuapi/addentry.c drsuapi/writespn.c drsuapi/drsutil.c',
135 subsystem
='dcerpc_server',
136 init_function
='dcerpc_server_drsuapi_init',
137 deps
='samdb DCERPC_COMMON NDR_DRSUAPI samba-security'
141 bld
.SAMBA_MODULE('dcerpc_browser',
142 source
='browser/dcesrv_browser.c',
143 subsystem
='dcerpc_server',
144 init_function
='dcerpc_server_browser_init',
145 deps
='DCERPC_COMMON NDR_BROWSER'
148 bld
.SAMBA_MODULE('dcerpc_eventlog',
149 source
='eventlog/dcesrv_eventlog6.c',
150 subsystem
='dcerpc_server',
151 init_function
='dcerpc_server_eventlog6_init',
155 bld
.SAMBA_MODULE('dcerpc_dnsserver',
156 source
='dnsserver/dcerpc_dnsserver.c dnsserver/dnsutils.c dnsserver/dnsdata.c dnsserver/dnsdb.c',
157 subsystem
='dcerpc_server',
158 init_function
='dcerpc_server_dnsserver_init',
163 bld
.SAMBA_MODULE('service_dcerpc',
164 source
='service_rpc.c',
165 autoproto
='service_rpc.h',
167 init_function
='server_service_rpc_init',
168 internal_module
=False,