summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source4/kdc/kdc.c2
-rw-r--r--source4/kdc/kdc.h1
2 files changed, 3 insertions, 0 deletions
diff --git a/source4/kdc/kdc.c b/source4/kdc/kdc.c
index f011c39a3c..a0fc6747b8 100644
--- a/source4/kdc/kdc.c
+++ b/source4/kdc/kdc.c
@@ -271,6 +271,8 @@ static void kdc_task_init(struct task_server *task)
return;
}
+ krb5_add_et_list(kdc->smb_krb5_context->krb5_context, initialize_hdb_error_table_r);
+
kdc->config->logf = kdc->smb_krb5_context->logf;
kdc->config->db = talloc(kdc->config, struct HDB *);
if (!kdc->config->db) {
diff --git a/source4/kdc/kdc.h b/source4/kdc/kdc.h
index 2965adc8d2..0ff995c2a9 100644
--- a/source4/kdc/kdc.h
+++ b/source4/kdc/kdc.h
@@ -24,6 +24,7 @@
#include "system/kerberos.h"
#include "auth/kerberos/kerberos.h"
#include "heimdal/kdc/kdc.h"
+#include "heimdal/lib/hdb/hdb.h"
#include "kdc/pac-glue.h"
krb5_error_code hdb_ldb_create(TALLOC_CTX *mem_ctx,