r8586: register the kdc with irpc so we can tell that it is up
[bbaumbach/samba-autobuild/.git] / 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 "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;
        }
+
+       irpc_add_name(task->msg_ctx, "kdc_server");
 }