1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00
samba-mirror/source3/rpc_server
Volker Lendecke 3ca7c640da s3:rpc_server: Add samba-dcerpcd
Central dispatcher for incoming RPC requests, supported by helpers
that implement RPC services.

Upon startup, it asks all helpers which interfaces and endpoints to
listen on so it doesn't interfere with the samba binary when we're
configured as an Active Directory Domain Controller, then samba-dcerpcd
opens the relevant sockets. Once clients connect, start required helpers
and tell them to shut down once idle for a while.

Can be started as a full standalone daemon without smbd involved or as
a helper daemon started on demand by smbd or winbind or other local
processes trying to connect to a named pipe based RPC service.

NB. To start as a standalone daemon the smb.conf [global] option
"rpc start on demand helpers = false" must be set.
By default "rpc start on demand helpers = true"
in order to allow upgrades without needing an smb.conf change.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Samuel Cabrero <scabrero@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
2021-12-10 14:02:30 +00:00
..
dfs s3:rpc_server: Do not include s3 autogenerated headers 2020-03-20 15:36:36 +00:00
dssetup CVE-2020-25717: Add FreeIPA domain controller role 2021-11-09 19:45:33 +00:00
echo s3:rpc_server: Do not include s3 autogenerated headers 2020-03-20 15:36:36 +00:00
epmapper epmapper: talloc_stackframe() panics on failure 2021-03-09 22:36:28 +00:00
eventlog s3: eventlog: get_nt_acl_no_snum(), SMB_VFS_GET_NT_ACL_AT() -> SMB_VFS_FGET_NT_ACL(). 2021-06-09 13:14:30 +00:00
fss lib: give global_contexts.c its own header file 2021-01-08 20:31:33 +00:00
initshutdown s3:rpc_server: Do not include s3 autogenerated headers 2020-03-20 15:36:36 +00:00
lsa IPA DC: add missing checks 2021-11-13 07:01:26 +00:00
mdssvc mdssvc: add options to allow ignoring attribute and type mapping errors 2021-10-14 09:33:38 +00:00
netlogon source3: move lib/substitute.c functions out of proto.h 2021-11-11 13:49:32 +00:00
ntsvcs s3:rpc_server: Do not include s3 autogenerated headers 2020-03-20 15:36:36 +00:00
samr rpc_server3: Remove "pipes_struct->opnum" 2021-10-08 19:28:32 +00:00
spoolss rpc_server3: Remove "pipes_struct->opnum" 2021-10-08 19:28:32 +00:00
srvsvc source3: move lib/substitute.c functions out of proto.h 2021-11-11 13:49:32 +00:00
svcctl s3:rpc_server: Remove direct registry access from svcctl_init_winreg 2021-12-10 14:02:30 +00:00
winreg srv_winreg: Align integer types 2021-04-01 19:32:36 +00:00
wkssvc rpc_server: Make get_domain_userlist() independent of errno 2021-06-15 18:11:35 +00:00
epmd.c s3:rpc_server: Do not include s3 autogenerated headers 2020-03-20 15:36:36 +00:00
epmd.h s3:rpc_server: Reinitialize dcesrv_context in external epmd daemon 2020-03-20 15:36:32 +00:00
fssd.c s3/rpc_server: remove unnecessary srv_fss_agent.h header 2020-06-03 03:57:12 +00:00
fssd.h s3:rpc_server: Reinitialize dcesrv_context in external fssd daemon 2020-03-20 15:36:32 +00:00
lsasd.c rpc_server: Make dcerpc_ncacn_accept() take tsocket_address ** 2021-01-14 13:29:35 +00:00
lsasd.h s3:rpc_server: Reinitialize dcesrv_context in external lsasd daemon 2020-03-20 15:36:32 +00:00
mdssd.c rpc_server: Make dcerpc_ncacn_accept() take tsocket_address ** 2021-01-14 13:29:35 +00:00
mdssd.h s3:rpc_server: Reinitialize dcesrv_context in external mdssd daemon 2020-03-20 15:36:32 +00:00
rpc_config.c lib: give global_contexts.c its own header file 2021-01-08 20:31:33 +00:00
rpc_config.h s3:rpc_server: Add global dcesrv_context init and shutdown functions 2020-03-20 15:36:32 +00:00
rpc_ep_register.c s3:rpc_server: Drop dcerpc_binding_vector usage in the server side 2020-03-20 15:36:34 +00:00
rpc_ep_register.h s3:rpc_server: Drop dcerpc_binding_vector usage in the server side 2020-03-20 15:36:34 +00:00
rpc_handles.c rpc_server3: Remove an outdated comment 2021-10-08 19:28:32 +00:00
rpc_host.c s3:rpc_server: Add samba-dcerpcd 2021-12-10 14:02:30 +00:00
rpc_modules.c s3:rpc_server: Remove unused RPC module init and shutdown callbacks 2020-03-20 15:36:36 +00:00
rpc_modules.h s3:rpc_server: Remove unused RPC module init and shutdown callbacks 2020-03-20 15:36:36 +00:00
rpc_ncacn_np.c librpc: Add named_pipe_auth_req_info5->transport 2021-12-10 14:02:30 +00:00
rpc_ncacn_np.h s3:rpc_server: Retrieve dcesrv_context from parent context to open NP 2020-03-20 15:36:35 +00:00
rpc_pipes.h rpc_server3: Remove pipes_struct->private_data 2021-10-08 19:28:32 +00:00
rpc_server.c rpc_server: Check info5->transport 2021-12-10 14:02:30 +00:00
rpc_server.h rpc_server3: Remove unused fields from struct dcerpc_ncacn_conn 2021-10-08 19:28:31 +00:00
rpc_service_setup.c rpc_server: Consolidate transport-specific socket creation 2021-01-26 00:10:31 +00:00
rpc_service_setup.h rpc_server: Remove an unused function parameter 2021-01-26 00:10:31 +00:00
rpc_sock_helper.c rpc_server: Don't rely on TCP-bind() to return EADDRINUSE 2021-06-15 18:11:35 +00:00
rpc_sock_helper.h rpc_server: Consolidate transport-specific socket creation 2021-01-26 00:10:31 +00:00
srv_access_check.c s3:rpc_server: Set debug class in all rpc server related files 2019-07-22 16:49:15 +00:00
srv_access_check.h
srv_pipe_hnd.c rpc_server: Avoid a cast 2021-06-04 16:47:34 +00:00
srv_pipe_hnd.h s3:rpc_server: Retrieve dcesrv_context from parent context to open NP 2020-03-20 15:36:35 +00:00
srv_pipe.c s3:rpc_server: Remove s3 rpc server loop 2020-03-20 15:36:36 +00:00
srv_pipe.h s3:rpc_server: Remove s3 rpc server loop 2020-03-20 15:36:36 +00:00
wscript_build s3:rpc_server: Add samba-dcerpcd 2021-12-10 14:02:30 +00:00