r8586: register the kdc with irpc so we can tell that it is up
authorAndrew Tridgell <tridge@samba.org>
Tue, 19 Jul 2005 09:27:20 +0000 (09:27 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 18:29:41 +0000 (13:29 -0500)
(This used to be commit 093bbae1c391a999131f249b3aa9a9e3ce99a555)

source4/kdc/kdc.c

index 810e6cf9ba156b65390ceb2c5496f2d380553b9a..f011c39a3c1170eb7dcf811e1b27b075b82e03c8 100644 (file)
@@ -28,6 +28,7 @@
 #include "kdc/kdc.h"
 #include "system/network.h"
 #include "dlinklist.h"
 #include "kdc/kdc.h"
 #include "system/network.h"
 #include "dlinklist.h"
+#include "lib/messaging/irpc.h"
 
 
 
 
 
 
@@ -293,6 +294,8 @@ static void kdc_task_init(struct task_server *task)
                task_server_terminate(task, "kdc failed to setup interfaces");
                return;
        }
                task_server_terminate(task, "kdc failed to setup interfaces");
                return;
        }
+
+       irpc_add_name(task->msg_ctx, "kdc_server");
 }
 
 
 }