summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Schneider <asn@samba.org>2011-03-17 17:56:37 +0100
committerSimo Sorce <idra@samba.org>2011-03-23 17:19:22 +0100
commitb38517bbdc746fe53e0bd804623b2ea7b0e98cbc (patch)
tree86996442e4fc318800163ee4ebcce6275125c4a4
parent73e985fe4b1b4c3e879f4d7fe7bc2f98851aee6e (diff)
downloadsamba-b38517bbdc746fe53e0bd804623b2ea7b0e98cbc.tar.gz
samba-b38517bbdc746fe53e0bd804623b2ea7b0e98cbc.tar.bz2
samba-b38517bbdc746fe53e0bd804623b2ea7b0e98cbc.zip
s3-epmapper: Setup epm in smbd to forward np requests.
-rw-r--r--source3/rpc_server/rpc_ep_setup.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/source3/rpc_server/rpc_ep_setup.c b/source3/rpc_server/rpc_ep_setup.c
index fdf3fa888e..4680d6a41b 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;