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:
parent
3b09f9e8f9
commit
0600202067
@ -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) {
|
||||
|
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user