summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2005-07-19 09:44:11 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:29:42 -0500
commit01dd0f8c6cbf9ab546842aaa6dd1a6453c6e0ebc (patch)
tree8144545cae250406919fffc7ac8c70dcd38179d2
parent342d11e3544ec4836cf718f23ea65bee3592fc08 (diff)
downloadsamba-01dd0f8c6cbf9ab546842aaa6dd1a6453c6e0ebc.tar.gz
samba-01dd0f8c6cbf9ab546842aaa6dd1a6453c6e0ebc.tar.bz2
samba-01dd0f8c6cbf9ab546842aaa6dd1a6453c6e0ebc.zip
r8593: register the rpc server with irpc
(This used to be commit bc9d9531f54d9dac3bb48e0704c6bff524dae465)
-rw-r--r--source4/rpc_server/dcerpc_sock.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/source4/rpc_server/dcerpc_sock.c b/source4/rpc_server/dcerpc_sock.c
index 5bba948c08..cf3ce3cf7e 100644
--- a/source4/rpc_server/dcerpc_sock.c
+++ b/source4/rpc_server/dcerpc_sock.c
@@ -29,6 +29,7 @@
#include "lib/events/events.h"
#include "rpc_server/dcerpc_server.h"
#include "smbd/service_stream.h"
+#include "lib/messaging/irpc.h"
struct dcesrv_socket_context {
const struct dcesrv_endpoint *endpoint;
@@ -77,6 +78,8 @@ static void dcesrv_sock_accept(struct stream_connection *srv_conn)
srv_conn->private = dcesrv_conn;
+ irpc_add_name(srv_conn->msg_ctx, "rpc_server");
+
return;
}