summaryrefslogtreecommitdiff
path: root/source4/cldap_server
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2008-02-04 17:48:51 +1100
committerAndrew Bartlett <abartlet@samba.org>2008-02-04 17:48:51 +1100
commit23d681caf9c1186999ac676d70a1eb0e8a43e358 (patch)
treefcadf2e7606ce18623621f64d1ff175f3f3c6174 /source4/cldap_server
parentcbca41597e0829ee0b1535b2902696a448373045 (diff)
downloadsamba-23d681caf9c1186999ac676d70a1eb0e8a43e358.tar.gz
samba-23d681caf9c1186999ac676d70a1eb0e8a43e358.tar.bz2
samba-23d681caf9c1186999ac676d70a1eb0e8a43e358.zip
Rework service init functions to pass down service name. This is
needed to change prefork behaviour based on what service is being started. Andrew Bartlett and David Disseldorp (This used to be commit 0d830580e3539c96da3aa6c72fafe6eacd7a74a0)
Diffstat (limited to 'source4/cldap_server')
-rw-r--r--source4/cldap_server/cldap_server.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/cldap_server/cldap_server.c b/source4/cldap_server/cldap_server.c
index d68637104d..944d679a2d 100644
--- a/source4/cldap_server/cldap_server.c
+++ b/source4/cldap_server/cldap_server.c
@@ -209,7 +209,7 @@ static void cldapd_task_init(struct task_server *task)
*/
static NTSTATUS cldapd_init(struct event_context *event_ctx, struct loadparm_context *lp_ctx, const struct model_ops *model_ops)
{
- return task_server_startup(event_ctx, lp_ctx, model_ops, cldapd_task_init);
+ return task_server_startup(event_ctx, lp_ctx, "cldap", model_ops, cldapd_task_init);
}