r8593: register the rpc server with irpc
authorAndrew Tridgell <tridge@samba.org>
Tue, 19 Jul 2005 09:44:11 +0000 (09:44 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 18:29:42 +0000 (13:29 -0500)
(This used to be commit bc9d9531f54d9dac3bb48e0704c6bff524dae465)

source4/rpc_server/dcerpc_sock.c

index 5bba948c088039eeb5b8bc1c9d046b3d5aa62bc0..cf3ce3cf7e3d704a6f44a96506b6c01840436a81 100644 (file)
@@ -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; 
 }