summaryrefslogtreecommitdiffstats
path: root/source4/kdc/db-glue.h
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2010-09-28 13:05:37 +1000
committerAndrew Bartlett <abartlet@samba.org>2010-09-29 04:23:07 +1000
commit3021af2777ffd28f595835630510e367e7286c1c (patch)
treeed8c1c75492c6dd79c2d7a2639d944193db15951 /source4/kdc/db-glue.h
parent88abf441d021e753f149a534a232090634652367 (diff)
downloadsamba-3021af2777ffd28f595835630510e367e7286c1c.tar.gz
samba-3021af2777ffd28f595835630510e367e7286c1c.tar.xz
samba-3021af2777ffd28f595835630510e367e7286c1c.zip
s4-kdc Add common setup, handle RODC setup case
This means we just set up the system_session etc in one place and don't diverge between the MIT and Heimdal plugins. We also now determine if we are an RODC and store some details that we will need later. Andrew Bartlett
Diffstat (limited to 'source4/kdc/db-glue.h')
-rw-r--r--source4/kdc/db-glue.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/source4/kdc/db-glue.h b/source4/kdc/db-glue.h
index 33ba707822..5f9c39dfb6 100644
--- a/source4/kdc/db-glue.h
+++ b/source4/kdc/db-glue.h
@@ -46,3 +46,6 @@ samba_kdc_check_pkinit_ms_upn_match(krb5_context context,
struct samba_kdc_db_context *kdc_db_ctx,
hdb_entry_ex *entry,
krb5_const_principal certificate_principal);
+
+NTSTATUS samba_kdc_setup_db_ctx(TALLOC_CTX *mem_ctx, struct samba_kdc_base_context *base_ctx,
+ struct samba_kdc_db_context **kdc_db_ctx_out);