diff options
author | Volker Lendecke <vl@samba.org> | 2021-06-09 06:09:37 +0200 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2021-12-10 14:02:30 +0000 |
commit | 530fb4fdfb32d38cc55ed57cc6157bf63df069a7 (patch) | |
tree | 505ef6f18583e86ecb3e92d71080c34f676fa22c /librpc | |
parent | d1934e2331f4e452dce8fa2ed2e32ea595dc5e97 (diff) | |
download | samba-530fb4fdfb32d38cc55ed57cc6157bf63df069a7.tar.gz |
named_pipe_auth.idl: Add "need_idle_server"
Once RPC services are done by individual processes, we need to avoid
recursion between processes:
Any RPC server process will be able to serve multiple client requests
simultaneously, but each request is served in a single-threaded
blocking manner.
For example the netlogon RPC service needs to ask samr for
something. The netlogon->samr connection will initially be handled by
a central dispatcher assigning clients to processes. This dispatcher
needs to know that this connection can't end up in the same process
that originated the request.
With this flag an RPC client can request a samr server process that
exclusively serves its own requests and that will not serve anybody
else while serving netlogon.
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>
Diffstat (limited to 'librpc')
-rw-r--r-- | librpc/idl/named_pipe_auth.idl | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/librpc/idl/named_pipe_auth.idl b/librpc/idl/named_pipe_auth.idl index 2694dc6eeaa..bc727d2e538 100644 --- a/librpc/idl/named_pipe_auth.idl +++ b/librpc/idl/named_pipe_auth.idl @@ -20,6 +20,7 @@ interface named_pipe_auth [charset(DOS),string] uint8 *local_server_addr; uint16 local_server_port; auth_session_info_transport *session_info; + boolean8 need_idle_server; } named_pipe_auth_req_info5; typedef [switch_type(uint32)] union { |