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',
42 install_path
='${SAMBA_LIBEXECDIR}')
44 bld
.SAMBA3_BINARY('rpcd_classic',
45 source
='rpcd_classic.c',
53 install_path
='${SAMBA_LIBEXECDIR}')
55 bld
.SAMBA3_BINARY('rpcd_lsad',
67 install_path
='${SAMBA_LIBEXECDIR}')
69 bld
.SAMBA3_BINARY('rpcd_winreg',
70 source
='rpcd_winreg.c',
77 install_path
='${SAMBA_LIBEXECDIR}')
79 bld
.SAMBA3_BINARY('rpcd_spoolss',
80 source
='rpcd_spoolss.c',
87 install_path
='${SAMBA_LIBEXECDIR}')
89 bld
.SAMBA3_BINARY('rpcd_epmapper',
90 source
='rpcd_epmapper.c',
97 install_path
='${SAMBA_LIBEXECDIR}')
99 bld
.SAMBA3_BINARY('rpcd_fsrvp',
100 source
='rpcd_fsrvp.c',
107 install_path
='${SAMBA_LIBEXECDIR}')
109 bld
.SAMBA3_SUBSYSTEM('RPC_CONFIG',
110 source
='rpc_config.c',
113 bld
.SAMBA3_SUBSYSTEM('RPC_NCACN_NP',
114 source
='rpc_ncacn_np.c rpc_handles.c',
115 deps
='auth common_auth npa_tstream')
117 bld
.SAMBA3_LIBRARY('RPC_SERVER_LOOP',
118 private_library
=True,
119 source
='rpc_server.c',
129 bld
.SAMBA3_SUBSYSTEM('SRV_ACCESS_CHECK',
130 source
='srv_access_check.c',
133 bld
.SAMBA3_SUBSYSTEM('RPC_SERVER',
143 bld
.SAMBA3_SUBSYSTEM('RPC_DSSETUP',
144 source
='''dssetup/srv_dssetup_nt.c''',
147 bld
.SAMBA3_SUBSYSTEM('RPC_EPMAPPER',
148 source
='''epmapper/srv_epmapper.c''',
151 bld
.SAMBA3_SUBSYSTEM('RPC_FSS_STATE',
152 source
='''fss/srv_fss_state.c''',
153 deps
='samba-util NDR_FSRVP_STATE')
155 bld
.SAMBA3_SUBSYSTEM('RPC_FSS_AGENT',
156 source
='''fss/srv_fss_agent.c''',
157 deps
='samba-util RPC_FSS_STATE')
159 bld
.SAMBA3_SUBSYSTEM('RPC_EVENTLOG',
160 source
='''eventlog/srv_eventlog_nt.c
161 eventlog/srv_eventlog_reg.c''',
162 deps
='LIBEVENTLOG LIBCLI_WINREG_INTERNAL')
164 bld
.SAMBA3_SUBSYSTEM('RPC_INITSHUTDOWN',
165 source
='''initshutdown/srv_initshutdown_nt.c''',
168 bld
.SAMBA3_SUBSYSTEM('RPC_LSARPC',
169 source
='''lsa/srv_lsa_nt.c''',
170 deps
='SRV_ACCESS_CHECK LIBLSA GNUTLS_HELPERS')
172 bld
.SAMBA3_SUBSYSTEM('RPC_NETDFS',
173 source
='''dfs/srv_dfs_nt.c''',
176 bld
.SAMBA3_SUBSYSTEM('RPC_NETLOGON',
177 source
='''netlogon/srv_netlog_nt.c''',
178 deps
='LIBCLI_AUTH DCERPC_SERVER_NETLOGON')
180 bld
.SAMBA3_SUBSYSTEM('RPC_NTSVCS',
181 source
='''ntsvcs/srv_ntsvcs_nt.c''',
184 bld
.SAMBA3_SUBSYSTEM('RPC_RPCECHO',
185 source
='''echo/srv_echo_nt.c''',
188 bld
.SAMBA3_SUBSYSTEM('RPC_SAMR',
189 source
='''samr/srv_samr_nt.c
191 samr/srv_samr_chgpasswd.c''',
192 deps
='PLAINTEXT_AUTH SRV_ACCESS_CHECK DCERPC_HELPER')
194 bld
.SAMBA3_SUBSYSTEM('RPC_SPOOLSS',
195 source
='''spoolss/srv_spoolss_nt.c
196 spoolss/srv_spoolss_util.c''',
197 deps
='PRINTING PRINTBACKEND LIBCLI_WINREG_INTERNAL')
199 bld
.SAMBA3_SUBSYSTEM('RPC_IREMOTEWINSPOOL',
201 spoolss/srv_iremotewinspool_nt.c
202 spoolss/srv_iremotewinspool.c
206 bld
.SAMBA3_SUBSYSTEM('RPC_SRVSVC',
207 source
='''srvsvc/srv_srvsvc_nt.c''',
208 deps
='samba-util tdb')
210 bld
.SAMBA3_SUBSYSTEM('RPC_SVCCTL',
211 source
='''svcctl/srv_svcctl_nt.c
212 svcctl/srv_svcctl_reg.c''',
213 deps
='SERVICES LIBCLI_WINREG_INTERNAL')
215 bld
.SAMBA3_SUBSYSTEM('RPC_WINREG',
216 source
='''winreg/srv_winreg_nt.c''',
217 deps
='REG_FULL REGFIO NDR_PERFCOUNT')
219 bld
.SAMBA3_SUBSYSTEM('RPC_WKSSVC',
220 source
='''wkssvc/srv_wkssvc_nt.c''',
223 bld
.SAMBA3_SUBSYSTEM('mdssvc',
229 rpc_mdssvc_sources
= '''
231 mdssvc/mdssvc_noindex.c
232 mdssvc/srv_mdssvc_nt.c
234 rpc_mdssvc_deps
= 'mdssvc samba-util smbd_base '
236 if bld
.env
.spotlight_backend_tracker
:
237 rpc_mdssvc_sources
+= '''
238 mdssvc/mdssvc_tracker.c
239 mdssvc/sparql_mapping.c
240 mdssvc/sparql_parser.y
241 mdssvc/sparql_lexer.l
243 rpc_mdssvc_deps
+= 'tevent-glib-glue ' + bld
.env
['libtracker']
245 if bld
.env
.spotlight_backend_es
:
246 rpc_mdssvc_sources
+= '''
252 rpc_mdssvc_deps
+= ' http jansson'
254 bld
.INSTALL_FILES(bld
.env
.SAMBA_DATADIR
,
255 'mdssvc/elasticsearch_mappings.json')
257 bld
.SAMBA3_BINARY('rpcd_mdssvc',
258 source
='rpcd_mdssvc.c ' + rpc_mdssvc_sources
,
263 ''' + rpc_mdssvc_deps
,
264 install_path
='${SAMBA_LIBEXECDIR}')
266 bld
.SAMBA3_SUBSYSTEM('RPC_SERVICE',
290 bld
.SAMBA3_SUBSYSTEM('RPC_SOCK_HELPER',
291 source
='rpc_sock_helper.c',