From b1bce451411486525e72ec71c5fd37fc0b463add Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Tue, 28 Jan 2003 03:31:33 +0000 Subject: Finally we compile with Heimdal as well as MIT ! Wonder if it works... :-). Jeremy. (This used to be commit 1b71786c161cd8ec4c3c0c6b178370ed50feeef4) --- source3/include/config.h.in | 3 +++ source3/include/includes.h | 1 + 2 files changed, 4 insertions(+) (limited to 'source3/include') diff --git a/source3/include/config.h.in b/source3/include/config.h.in index ebd7f64d81..2848414c40 100644 --- a/source3/include/config.h.in +++ b/source3/include/config.h.in @@ -1637,6 +1637,9 @@ /* Whether krb5_auth_con_setuseruserkey is available */ #undef HAVE_KRB5_AUTH_CON_SETUSERUSERKEY +/* Whether krb5_locate_kdc is available */ +#undef HAVE_KRB5_LOCATE_KDC + /* Whether the krb5_address struct has a addrtype property */ #undef HAVE_ADDRTYPE_IN_KRB5_ADDRESS diff --git a/source3/include/includes.h b/source3/include/includes.h index cb2d57ea04..08e801427c 100644 --- a/source3/include/includes.h +++ b/source3/include/includes.h @@ -1229,6 +1229,7 @@ int create_kerberos_key_from_string(krb5_context context, void get_auth_data_from_tkt(DATA_BLOB *auth_data, krb5_ticket *tkt); krb5_const_principal get_principal_from_tkt(krb5_ticket *tkt); +krb5_error_code krb5_locate_kdc(krb5_context ctx, const krb5_data *realm, struct sockaddr **addr_pp, int *naddrs, int get_masters); #endif /* HAVE_KRB5 */ -- cgit