From afb6ac247be9fa2e5e34dcf69e6b5ba557e19892 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Mon, 27 Jul 2009 13:48:45 +1000 Subject: s4:kdc Tidy up hdb_samba4 some more This removes the last use of the prefix hdb_ldb and makes it clear that we pass in 3 global variables to get state information into hdb_samba4 when used as a keytab. (And that they belong to hdb_samba4, not to the KDC) Andrew Bartlett --- source4/kdc/kdc.h | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) (limited to 'source4/kdc/kdc.h') diff --git a/source4/kdc/kdc.h b/source4/kdc/kdc.h index d37a32ebbf..a2bf412f2a 100644 --- a/source4/kdc/kdc.h +++ b/source4/kdc/kdc.h @@ -26,13 +26,11 @@ #include #include #include "kdc/pac_glue.h" +#include "kdc/hdb-samba4.h" struct kdc_server; struct socket_address; -extern TALLOC_CTX *kdc_mem_ctx; -extern struct tevent_context *kdc_ev_ctx; -extern struct loadparm_context *kdc_lp_ctx; bool kpasswdd_process(struct kdc_server *kdc, TALLOC_CTX *mem_ctx, @@ -52,11 +50,3 @@ struct kdc_server { }; -struct hdb_ldb_private { - struct ldb_context *samdb; - struct smb_iconv_convenience *iconv_convenience; - struct loadparm_context *lp_ctx; - struct ldb_message *msg; - struct ldb_dn *realm_dn; - hdb_entry_ex *entry_ex; -}; -- cgit