summaryrefslogtreecommitdiff
path: root/source4/kdc
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2005-06-25 23:53:14 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:18:48 -0500
commitb3e493470f3465cfe5cfa958b019ac8cfb8f12f2 (patch)
treecfde60cc60782142cfd7caa39692e1f92bafdffe /source4/kdc
parentfbb0ecd418286499d5e251893f46a7a4352d719c (diff)
downloadsamba-b3e493470f3465cfe5cfa958b019ac8cfb8f12f2.tar.gz
samba-b3e493470f3465cfe5cfa958b019ac8cfb8f12f2.tar.bz2
samba-b3e493470f3465cfe5cfa958b019ac8cfb8f12f2.zip
r7911: task_terminate() is defined in the macosx headers, so change the name
to task_server_terminate() (This used to be commit a7447e25ac203f0ee09ffdf72df1094eb70e7c0c)
Diffstat (limited to 'source4/kdc')
-rw-r--r--source4/kdc/kdc.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/source4/kdc/kdc.c b/source4/kdc/kdc.c
index 3232f31b39..8a7e497913 100644
--- a/source4/kdc/kdc.c
+++ b/source4/kdc/kdc.c
@@ -235,13 +235,13 @@ static void kdc_task_init(struct task_server *task)
krb5_error_code ret;
if (iface_count() == 0) {
- task_terminate(task, "kdc: no network interfaces configured");
+ task_server_terminate(task, "kdc: no network interfaces configured");
return;
}
kdc = talloc(task, struct kdc_server);
if (kdc == NULL) {
- task_terminate(task, "kdc: out of memory");
+ task_server_terminate(task, "kdc: out of memory");
return;
}
@@ -250,7 +250,7 @@ static void kdc_task_init(struct task_server *task)
/* Setup the KDC configuration */
kdc->config = talloc(kdc, struct krb5_kdc_configuration);
if (!kdc->config) {
- task_terminate(task, "kdc: out of memory");
+ task_server_terminate(task, "kdc: out of memory");
return;
}
krb5_kdc_default_config(kdc->config);
@@ -264,14 +264,14 @@ static void kdc_task_init(struct task_server *task)
if (ret) {
DEBUG(1,("kdc_task_init: krb5_init_context failed (%s)\n",
error_message(ret)));
- task_terminate(task, "kdc: krb5_init_context failed");
+ task_server_terminate(task, "kdc: krb5_init_context failed");
return;
}
kdc->config->logf = kdc->smb_krb5_context->logf;
kdc->config->db = talloc(kdc->config, struct HDB *);
if (!kdc->config->db) {
- task_terminate(task, "kdc: out of memory");
+ task_server_terminate(task, "kdc: out of memory");
return;
}
kdc->config->num_db = 1;
@@ -281,14 +281,14 @@ static void kdc_task_init(struct task_server *task)
if (ret != 0) {
DEBUG(1, ("kdc_task_init: hdb_ldb_create fails: %s\n",
smb_get_krb5_error_message(kdc->smb_krb5_context->krb5_context, ret, kdc)));
- task_terminate(task, "kdc: hdb_ldb_create failed");
+ task_server_terminate(task, "kdc: hdb_ldb_create failed");
return;
}
/* start listening on the configured network interfaces */
status = kdc_startup_interfaces(kdc);
if (!NT_STATUS_IS_OK(status)) {
- task_terminate(task, "kdc failed to setup interfaces");
+ task_server_terminate(task, "kdc failed to setup interfaces");
return;
}
}