1
0
mirror of https://github.com/samba-team/samba.git synced 2025-11-14 12:23:52 +03:00

completed the linkage between the endpoint mapper and the dcerpc

server endpoints. We can now successfully setup listening endpoints on
high ports, then use our endpoint mapper redirect incoming clients to
the right port.

also greatly cleanup the rpc over tcp session handling.
This commit is contained in:
Andrew Tridgell
-
parent 4f46606af8
commit 593bc29bbe
12 changed files with 193 additions and 88 deletions

View File

@@ -181,7 +181,7 @@ static const struct dcesrv_endpoint_ops rpc_echo_ops = {
*/
void rpc_echo_init(struct dcesrv_context *dce)
{
if (!dcesrv_endpoint_register(dce, &rpc_echo_ops)) {
if (!dcesrv_endpoint_register(dce, &rpc_echo_ops, &dcerpc_table_rpcecho)) {
DEBUG(1,("Failed to register rpcecho endpoint\n"));
}
}