From f104a2ea923755ed3e11b25b68cee7d879d085b8 Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Thu, 17 Mar 2011 17:56:37 +0100 Subject: [PATCH] s3-epmapper: Setup epm in smbd to forward np requests. (cherry picked from commit b38517bbdc746fe53e0bd804623b2ea7b0e98cbc) --- source3/rpc_server/rpc_ep_setup.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/source3/rpc_server/rpc_ep_setup.c b/source3/rpc_server/rpc_ep_setup.c index fdf3fa888ea..4680d6a41b7 100644 --- a/source3/rpc_server/rpc_ep_setup.c +++ b/source3/rpc_server/rpc_ep_setup.c @@ -1060,6 +1060,10 @@ bool dcesrv_ep_setup(struct tevent_context *ev_ctx, if (!NT_STATUS_IS_OK(rpc_epmapper_init(&epmapper_cb))) { return false; } + } else if (StrCaseCmp(rpcsrv_type, "daemon") == 0) { + if (!NT_STATUS_IS_OK(rpc_epmapper_init(NULL))) { + return false; + } } winreg_cb.init = winreg_init_cb; -- 2.11.4.GIT