1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-06 13:18:07 +03:00
samba-mirror/source4/rpc_server/remote
Samuel Cabrero e24ce0023f pidl:NDR/Server: Allow to define endpoint server shutdown functions
The next commits will register legacy api_struct when the endpoint server
is initialized. This commit adds a shutdown function which will be used
to unregister the legacy api_struct.

The shutdown function will be also used to replace the rpc_srv_callbacks
struct shutdown member used, for example, by the spoolss service to
cleanup before exiting.

Signed-off-by: Samuel Cabrero <scabrero@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2019-12-12 00:35:31 +00:00
..
dcesrv_remote.c pidl:NDR/Server: Allow to define endpoint server shutdown functions 2019-12-12 00:35:31 +00:00
README

This is an RPC backend that implements all operations in terms of
remote RPC operations.  This may be useful in certain debugging
situations, where the traffic is encrypted, or you wish to validate
that IDL is correct before implementing full test clients, or with
windows clients.

There are two modes of operation: Password specified and delegated
credentials.

Password specified:
-------------------

This uses a static username/password in the config file, example:

[global]
	dcerpc endpoint servers = remote
	dcerpc_remote:binding = ncacn_np:win2003
	dcerpc_remote:username = administrator
	dcerpc_remote:password = PASSWORD
	dcerpc_remote:interfaces = samr, lsarpc, netlogon

Delegated credentials:
----------------------

If your incoming user is authenticated with Kerberos, and the machine
account for this Samba4 proxy server is 'trusted for delegation', then
the Samba4 proxy can forward the client's credentials to the target.

You must be joined to the domain (net join <domain> member).

To set 'trusted for delegation' with MMC, see the checkbox in the
Computer account property page under Users and Computers.

[global]
	dcerpc endpoint servers = remote
	dcerpc_remote:binding = ncacn_np:win2003
	dcerpc_remote:interfaces = samr, lsarpc, netlogon