1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-11 05:18:09 +03:00
samba-mirror/source3/rpc_server
Volker Lendecke aa147153c1 rpc_server: Don't rely on TCP-bind() to return EADDRINUSE
socket_wrapper can't do EADDRINUSE because unix domain sockets don't
do it.

This currently works correctly because right now all RPC servers
either use explicit ports or all listen on the same socket.

The new code uses a static variable, so it only helps if a single
process listens for multiple RPC sockets. It won't work if multiple
processes start listening. But in case samba-dcerpcd goes in this will
be exactly the right thing to do.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
2021-06-15 18:11:35 +00:00
..
dfs s3:rpc_server: Do not include s3 autogenerated headers 2020-03-20 15:36:36 +00:00
dssetup s3:rpc_server: Do not include s3 autogenerated headers 2020-03-20 15:36:36 +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 s3:rpc_server: Allow to use RC4 for creating trusts 2020-11-09 08:58:35 +00:00
mdssvc s3:rpc_server: Migrate test_mdsparser_es to new cmdline option parser 2021-05-20 02:58:36 +00:00
netlogon rpc_server: Initialize variables in get_md4pw() 2021-03-16 17:09:32 +00:00
ntsvcs s3:rpc_server: Do not include s3 autogenerated headers 2020-03-20 15:36:36 +00:00
samr lib: give global_contexts.c its own header file 2021-01-08 20:31:33 +00:00
spoolss s3-iremotewinspool: set the per-request memory context 2021-04-09 15:20:02 +00:00
srvsvc srvsrvc: Reload conf after changing a share 2021-03-09 22:36:28 +00:00
svcctl lib: give global_contexts.c its own header file 2021-01-08 20:31:33 +00:00
winreg srv_winreg: Align integer types 2021-04-01 19:32:36 +00:00
wkssvc s3:rpc_server: Do not include s3 autogenerated headers 2020-03-20 15:36:36 +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 pidl: set the per-request memory context in the pidl generator 2021-03-31 11:11:31 +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 rpc: Give dcerpc_util.c its own header 2021-04-06 22:29:34 +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 s3: rpc_server: Avoid casts calling to find_policy_by_hnd() 2020-05-24 23:55:37 +00:00
rpc_server.c s3: rpc_server: Store new association groups in the id tree 2021-04-07 09:18:30 +00:00
rpc_server.h librpc: Add "private_data" to struct dcesrv_context_callbacks 2021-03-16 17:09: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 Covert all uint32/16/8 to _t in source3/rpc_server. 2015-05-15 19:31:24 +02:00
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 deps of rpc_mdssvc_module 2021-01-14 16:05:10 +00:00