r8588: register wins server with irpc
authorAndrew Tridgell <tridge@samba.org>
Tue, 19 Jul 2005 09:28:46 +0000 (09:28 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 18:29:42 +0000 (13:29 -0500)
(This used to be commit dc0ea36344c8eeeff0aa1afa01202fe1f477d307)

source4/nbt_server/wins/winsserver.c

index abfb714e4121cfcc08efa840b5ec43cf8d53eade..5470a38c97d469d9c7b076c040f065c7587a6738 100644 (file)
@@ -24,6 +24,7 @@
 #include "nbt_server/nbt_server.h"
 #include "nbt_server/wins/winsdb.h"
 #include "system/time.h"
+#include "smbd/service_task.h"
 
 /*
   work out the ttl we will use given a client requested ttl
@@ -281,5 +282,7 @@ NTSTATUS nbtd_winsserver_init(struct nbtd_server *nbtsrv)
        nbtsrv->winssrv->min_version = 0;
        nbtsrv->winssrv->max_version = 0;
 
+       irpc_add_name(nbtsrv->task->msg_ctx, "wins_server");
+
        return winsdb_init(nbtsrv->winssrv);
 }