summaryrefslogtreecommitdiff
path: root/source4/ldap_server
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2013-05-27 12:10:57 +0200
committerStefan Metzmacher <metze@samba.org>2013-06-13 12:37:04 +0200
commita1aeeee4302a4eaf7e210e8084416cd2a0d14384 (patch)
tree663d9fe24a972ead9fbcfcf691c89ce6a5ea69f3 /source4/ldap_server
parent6c8cccc1fbf4966f707286343b19e79513915c01 (diff)
downloadsamba-a1aeeee4302a4eaf7e210e8084416cd2a0d14384.tar.gz
samba-a1aeeee4302a4eaf7e210e8084416cd2a0d14384.tar.bz2
samba-a1aeeee4302a4eaf7e210e8084416cd2a0d14384.zip
s4:ldap_server: call irpc_add_name() at startup (bug #9905)
We should call irpc_add_name() when we start the ldap_server task. Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'source4/ldap_server')
-rw-r--r--source4/ldap_server/ldap_server.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/source4/ldap_server/ldap_server.c b/source4/ldap_server/ldap_server.c
index a06feb0eb0..0c0becae13 100644
--- a/source4/ldap_server/ldap_server.c
+++ b/source4/ldap_server/ldap_server.c
@@ -1024,6 +1024,9 @@ static void ldapsrv_task_init(struct task_server *task)
}
#endif
+
+ /* register the server */
+ irpc_add_name(task->msg_ctx, "ldap_server");
return;
failed: