1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-26 21:57:41 +03:00

source4/kdc: Fix prototypes for all functions.

This commit is contained in:
Jelmer Vernooij 2011-03-19 00:43:50 +01:00
parent f5c3742a4c
commit a68b59e9a6
6 changed files with 13 additions and 1 deletions

View File

@ -34,7 +34,9 @@
#include "auth/kerberos/kerberos.h"
#include <hdb.h>
#include "kdc/samba_kdc.h"
#include "kdc/kdc-glue.h"
#include "kdc/kdc-policy.h"
#include "kdc/db-glue.h"
#define SAMBA_KVNO_GET_KRBTGT(kvno) \
((uint16_t)(((uint32_t)kvno) >> 16))

View File

@ -35,6 +35,8 @@
#include "dsdb/samdb/samdb.h"
#include "auth/session.h"
NTSTATUS server_service_kdc_init(void);
extern struct krb5plugin_windc_ftable windc_plugin_table;
extern struct hdb_method hdb_samba4;

View File

@ -27,6 +27,7 @@
#include "auth/auth.h"
#include "auth/auth_sam_reply.h"
#include "kdc/kdc-glue.h"
#include "kdc/pac-glue.h"
#include "param/param.h"
#include "librpc/gen_ndr/ndr_krb5pac.h"

View File

@ -23,6 +23,7 @@
#include "system/kerberos.h"
#include "auth/kerberos/kerberos.h"
#include "param/param.h"
#include "kdc/kdc-policy.h"
void kdc_get_policy(struct loadparm_context *lp_ctx,
struct smb_krb5_context *smb_krb5_context,

View File

@ -21,6 +21,9 @@
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef _SAMBA_KDC_H_
#define _SAMBA_KDC_H_
struct samba_kdc_base_context {
struct tevent_context *ev_ctx;
struct loadparm_context *lp_ctx;
@ -45,3 +48,5 @@ struct samba_kdc_entry {
struct ldb_dn *realm_dn;
hdb_entry_ex *entry_ex;
};
#endif /* _SAMBA_KDC_H_ */

View File

@ -39,7 +39,8 @@ bld.SAMBA_LIBRARY('pac',
bld.SAMBA_LIBRARY('db-glue',
source='db-glue.c',
deps='ldb auth4_sam auth_sam_reply credentials hdb samba-hostconfig com_err kdc-policy',
private_library=True
private_library=True,
includes='../heimdal/kdc',
)
bld.SAMBA_LIBRARY('kdc-policy',