1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-30 06:50:24 +03:00

kdc: use mostly only public kerberos headers

We shoule avoid using the private heimdal function
_krb5_principalname2krb5_principal()

metze
(This used to be commit 10db07c69addce6e90851fb55738d5f9e142946b)
This commit is contained in:
Stefan Metzmacher 2008-08-01 17:24:24 +02:00
parent 9cc663af6e
commit f2ac351d6e
4 changed files with 11 additions and 8 deletions

View File

@ -0,0 +1 @@
#include "heimdal/kdc/windc_plugin.h"

View File

@ -6,7 +6,7 @@
INIT_FUNCTION = server_service_kdc_init
SUBSYSTEM = smbd
PRIVATE_DEPENDENCIES = \
LIBLDB HEIMDAL HEIMDAL_KDC HEIMDAL_HDB SAMDB
HEIMDAL_KDC HDB_LDB
# End SUBSYSTEM KDC
#######################
@ -17,8 +17,8 @@ KDC_OBJ_FILES = $(addprefix $(kdcsrcdir)/, kdc.o kpasswdd.o)
[SUBSYSTEM::HDB_LDB]
CFLAGS = -Iheimdal/kdc -Iheimdal/lib/hdb
PRIVATE_DEPENDENCIES = \
LIBLDB auth_sam auth_sam_reply HEIMDAL CREDENTIALS \
HEIMDAL_HDB_ASN1
LIBLDB auth_sam auth_sam_reply CREDENTIALS \
HEIMDAL_HDB
# End SUBSYSTEM KDC
#######################

View File

@ -22,9 +22,9 @@
#include "system/kerberos.h"
#include "auth/kerberos/kerberos.h"
#include "heimdal/kdc/kdc.h"
#include "heimdal/lib/hdb/hdb.h"
#include "heimdal/kdc/windc_plugin.h"
#include <kdc.h>
#include <hdb.h>
#include <krb5/windc_plugin.h>
#include "kdc/pac_glue.h"
struct kdc_server;

View File

@ -27,8 +27,6 @@
#include "system/network.h"
#include "lib/util/dlinklist.h"
#include "lib/ldb/include/ldb.h"
#include "heimdal/lib/krb5/krb5_locl.h"
#include "heimdal/lib/krb5/krb5-private.h"
#include "auth/gensec/gensec.h"
#include "auth/credentials/credentials.h"
#include "auth/credentials/credentials_krb5.h"
@ -40,6 +38,10 @@
#include "param/param.h"
#include "kdc/kdc.h"
/* TODO: remove this */
#include "heimdal/lib/krb5/krb5_locl.h"
#include "heimdal/lib/krb5/krb5-private.h"
/* hold information about one kdc socket */
struct kpasswd_socket {
struct socket_context *sock;