4 bld
.SAMBA3_SUBSYSTEM('rpc',
6 deps
='dcerpc-server-core')
8 bld
.SAMBA_BINARY('samba-dcerpcd',
19 install_path
='${SAMBA_LIBEXECDIR}')
21 bld
.SAMBA_LIBRARY('RPC_WORKER',
35 bld
.SAMBA3_BINARY('rpcd_rpcecho',
36 source
='rpcd_rpcecho.c',
41 install_path
='${SAMBA_LIBEXECDIR}')
43 bld
.SAMBA3_BINARY('rpcd_classic',
44 source
='rpcd_classic.c',
52 install_path
='${SAMBA_LIBEXECDIR}')
54 bld
.SAMBA3_BINARY('rpcd_lsad',
66 install_path
='${SAMBA_LIBEXECDIR}')
68 bld
.SAMBA3_BINARY('rpcd_winreg',
69 source
='rpcd_winreg.c',
76 install_path
='${SAMBA_LIBEXECDIR}')
78 bld
.SAMBA3_BINARY('rpcd_spoolss',
79 source
='rpcd_spoolss.c',
86 install_path
='${SAMBA_LIBEXECDIR}')
88 bld
.SAMBA3_BINARY('rpcd_epmapper',
89 source
='rpcd_epmapper.c',
96 install_path
='${SAMBA_LIBEXECDIR}')
98 bld
.SAMBA3_BINARY('rpcd_fsrvp',
99 source
='rpcd_fsrvp.c',
106 install_path
='${SAMBA_LIBEXECDIR}')
108 bld
.SAMBA3_SUBSYSTEM('RPC_CONFIG',
109 source
='rpc_config.c',
112 bld
.SAMBA3_SUBSYSTEM('RPC_NCACN_NP',
113 source
='rpc_ncacn_np.c rpc_handles.c',
114 deps
='auth common_auth npa_tstream')
116 bld
.SAMBA3_LIBRARY('RPC_SERVER_LOOP',
117 private_library
=True,
118 source
='rpc_server.c',
128 bld
.SAMBA3_SUBSYSTEM('SRV_ACCESS_CHECK',
129 source
='srv_access_check.c',
132 bld
.SAMBA3_SUBSYSTEM('RPC_SERVER',
142 bld
.SAMBA3_SUBSYSTEM('RPC_DSSETUP',
143 source
='''dssetup/srv_dssetup_nt.c''',
146 bld
.SAMBA3_SUBSYSTEM('RPC_EPMAPPER',
147 source
='''epmapper/srv_epmapper.c''',
150 bld
.SAMBA3_SUBSYSTEM('RPC_FSS_STATE',
151 source
='''fss/srv_fss_state.c''',
152 deps
='samba-util NDR_FSRVP_STATE')
154 bld
.SAMBA3_SUBSYSTEM('RPC_FSS_AGENT',
155 source
='''fss/srv_fss_agent.c''',
156 deps
='samba-util RPC_FSS_STATE')
158 bld
.SAMBA3_SUBSYSTEM('RPC_EVENTLOG',
159 source
='''eventlog/srv_eventlog_nt.c
160 eventlog/srv_eventlog_reg.c''',
161 deps
='LIBEVENTLOG LIBCLI_WINREG_INTERNAL')
163 bld
.SAMBA3_SUBSYSTEM('RPC_INITSHUTDOWN',
164 source
='''initshutdown/srv_initshutdown_nt.c''',
167 bld
.SAMBA3_SUBSYSTEM('RPC_LSARPC',
168 source
='''lsa/srv_lsa_nt.c''',
169 deps
='SRV_ACCESS_CHECK LIBLSA GNUTLS_HELPERS')
171 bld
.SAMBA3_SUBSYSTEM('RPC_NETDFS',
172 source
='''dfs/srv_dfs_nt.c''',
175 bld
.SAMBA3_SUBSYSTEM('RPC_NETLOGON',
176 source
='''netlogon/srv_netlog_nt.c''',
179 bld
.SAMBA3_SUBSYSTEM('RPC_NTSVCS',
180 source
='''ntsvcs/srv_ntsvcs_nt.c''',
183 bld
.SAMBA3_SUBSYSTEM('RPC_RPCECHO',
184 source
='''echo/srv_echo_nt.c''',
187 bld
.SAMBA3_SUBSYSTEM('RPC_SAMR',
188 source
='''samr/srv_samr_nt.c
190 samr/srv_samr_chgpasswd.c''',
191 deps
='PLAINTEXT_AUTH SRV_ACCESS_CHECK DCERPC_HELPER')
193 bld
.SAMBA3_SUBSYSTEM('RPC_SPOOLSS',
194 source
='''spoolss/srv_spoolss_nt.c
195 spoolss/srv_spoolss_util.c''',
196 deps
='PRINTING PRINTBACKEND LIBCLI_WINREG_INTERNAL')
198 bld
.SAMBA3_SUBSYSTEM('RPC_IREMOTEWINSPOOL',
200 spoolss/srv_iremotewinspool_nt.c
201 spoolss/srv_iremotewinspool.c
205 bld
.SAMBA3_SUBSYSTEM('RPC_SRVSVC',
206 source
='''srvsvc/srv_srvsvc_nt.c''',
207 deps
='samba-util tdb')
209 bld
.SAMBA3_SUBSYSTEM('RPC_SVCCTL',
210 source
='''svcctl/srv_svcctl_nt.c
211 svcctl/srv_svcctl_reg.c''',
212 deps
='SERVICES LIBCLI_WINREG_INTERNAL')
214 bld
.SAMBA3_SUBSYSTEM('RPC_WINREG',
215 source
='''winreg/srv_winreg_nt.c''',
216 deps
='REG_FULL REGFIO NDR_PERFCOUNT')
218 bld
.SAMBA3_SUBSYSTEM('RPC_WKSSVC',
219 source
='''wkssvc/srv_wkssvc_nt.c''',
222 bld
.SAMBA3_SUBSYSTEM('mdssvc',
228 rpc_mdssvc_sources
= '''
230 mdssvc/mdssvc_noindex.c
231 mdssvc/srv_mdssvc_nt.c
233 rpc_mdssvc_deps
= 'mdssvc samba-util smbd_base '
235 if bld
.env
.spotlight_backend_tracker
:
236 rpc_mdssvc_sources
+= '''
237 mdssvc/mdssvc_tracker.c
238 mdssvc/sparql_mapping.c
239 mdssvc/sparql_parser.y
240 mdssvc/sparql_lexer.l
242 rpc_mdssvc_deps
+= 'tevent-glib-glue ' + bld
.env
['libtracker']
244 if bld
.env
.spotlight_backend_es
:
245 rpc_mdssvc_sources
+= '''
251 rpc_mdssvc_deps
+= ' http jansson'
253 bld
.INSTALL_FILES(bld
.env
.SAMBA_DATADIR
,
254 'mdssvc/elasticsearch_mappings.json')
256 bld
.SAMBA3_BINARY('rpcd_mdssvc',
257 source
='rpcd_mdssvc.c ' + rpc_mdssvc_sources
,
262 ''' + rpc_mdssvc_deps
,
263 install_path
='${SAMBA_LIBEXECDIR}')
265 bld
.SAMBA3_SUBSYSTEM('RPC_SERVICE',
289 bld
.SAMBA3_SUBSYSTEM('RPC_SOCK_HELPER',
290 source
='rpc_sock_helper.c',