summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2013-05-27 12:10:57 +0200
committerStefan Metzmacher <metze@samba.org>2013-06-13 12:37:04 +0200
commit12d9728131afab7fa093a9cd7ccaff076a74f271 (patch)
treee99430fc5130686243d1bf2edfc46eca3322ff56
parenta1aeeee4302a4eaf7e210e8084416cd2a0d14384 (diff)
downloadsamba-12d9728131afab7fa093a9cd7ccaff076a74f271.tar.gz
samba-12d9728131afab7fa093a9cd7ccaff076a74f271.tar.bz2
samba-12d9728131afab7fa093a9cd7ccaff076a74f271.zip
s4:rpc_server: call irpc_add_name() at startup (bug #9905)
We should call irpc_add_name() when we start the rpc_server task. Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
-rw-r--r--source4/rpc_server/service_rpc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source4/rpc_server/service_rpc.c b/source4/rpc_server/service_rpc.c
index 299ee48c8e..9ecfd6fd69 100644
--- a/source4/rpc_server/service_rpc.c
+++ b/source4/rpc_server/service_rpc.c
@@ -76,6 +76,7 @@ static void dcesrv_task_init(struct task_server *task)
if (!NT_STATUS_IS_OK(status)) goto failed;
}
+ irpc_add_name(task->msg_ctx, "rpc_server");
return;
failed:
task_server_terminate(task, "Failed to startup dcerpc server task", true);