1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00

r10562: Ensure we initalise the error table with hdb errors. This ensures we

get good text error strings.

Andrew Bartlett
This commit is contained in:
Andrew Bartlett 2005-09-28 02:22:31 +00:00 committed by Gerald (Jerry) Carter
parent 3b09f9e8f9
commit 0600202067
2 changed files with 3 additions and 0 deletions

View File

@ -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) {

View File

@ -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,