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
commitafb2bcc08489dbece732fc8f842cbd83862320be (patch)
tree6070fc2d395672008e94f6df0ea20614c3bb750c
parent12d9728131afab7fa093a9cd7ccaff076a74f271 (diff)
downloadsamba-afb2bcc08489dbece732fc8f842cbd83862320be.tar.gz
samba-afb2bcc08489dbece732fc8f842cbd83862320be.tar.bz2
samba-afb2bcc08489dbece732fc8f842cbd83862320be.zip
s4:smb_server: call irpc_add_name() at startup (bug #9905)
We should call irpc_add_name() when we start the smb_server task. Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
-rw-r--r--source4/smb_server/service_smb.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source4/smb_server/service_smb.c b/source4/smb_server/service_smb.c
index c910b0fd65..958792e8a7 100644
--- a/source4/smb_server/service_smb.c
+++ b/source4/smb_server/service_smb.c
@@ -77,6 +77,7 @@ static void smbsrv_task_init(struct task_server *task)
talloc_free(wcard);
}
+ irpc_add_name(task->msg_ctx, "smb_server");
return;
failed:
task_server_terminate(task, "Failed to startup smb server task", true);