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:
parent
9cc663af6e
commit
f2ac351d6e
1
source4/heimdal_build/krb5/windc_plugin.h
Normal file
1
source4/heimdal_build/krb5/windc_plugin.h
Normal file
@ -0,0 +1 @@
|
||||
#include "heimdal/kdc/windc_plugin.h"
|
@ -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
|
||||
#######################
|
||||
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user