From a097527ab73c781322d643f6f444c0d146d0ce87 Mon Sep 17 00:00:00 2001 From: Simo Sorce Date: Thu, 28 Jan 2010 00:19:59 -0500 Subject: s4:kdc Use a clearer name for the samba kdc entry Renames hdb_samba4_private to samba_kdc_entry Streamlines members of the entry and the kdc db contextto avoid unnecessary duplication. --- source4/kdc/hdb-samba4.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'source4/kdc/hdb-samba4.h') diff --git a/source4/kdc/hdb-samba4.h b/source4/kdc/hdb-samba4.h index 3fa63ee542..1b94f62292 100644 --- a/source4/kdc/hdb-samba4.h +++ b/source4/kdc/hdb-samba4.h @@ -5,6 +5,7 @@ Copyright (C) Andrew Tridgell 2005 Copyright (C) Andrew Bartlett 2005 + Copyright (C) Simo Sorce 2010 This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -30,15 +31,14 @@ struct samba_kdc_seq; struct samba_kdc_db_context { struct tevent_context *ev_ctx; struct loadparm_context *lp_ctx; + struct smb_iconv_convenience *ic_ctx; struct ldb_context *samdb; }; extern struct hdb_method hdb_samba4; -struct hdb_samba4_private { - struct ldb_context *samdb; - struct smb_iconv_convenience *iconv_convenience; - struct loadparm_context *lp_ctx; +struct samba_kdc_entry { + struct samba_kdc_db_context *kdc_db_ctx; struct ldb_message *msg; struct ldb_dn *realm_dn; hdb_entry_ex *entry_ex; -- cgit