summaryrefslogtreecommitdiff
path: root/source4/auth/kerberos/config.m4
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2005-06-03 14:32:10 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:17:30 -0500
commit089b5381630f015cf2e81e8509fa7025eadb4060 (patch)
treebcd836749833d88dbda666cde7f906b226cbd6a2 /source4/auth/kerberos/config.m4
parent752ffdf49c37a9396ae22cbd9661bf87fe599250 (diff)
downloadsamba-089b5381630f015cf2e81e8509fa7025eadb4060.tar.gz
samba-089b5381630f015cf2e81e8509fa7025eadb4060.tar.bz2
samba-089b5381630f015cf2e81e8509fa7025eadb4060.zip
r7241: The KDC almost links...
Using current lorikeet/heimdal, and with the KDC module enabled (it is disabled by default), I almost get the KDC to link. (To enable the KDC for testing, comment out the only line in smbd/config.m4, and add 'kdc' to the 'server services' line in smb.conf). (This used to be commit 26cd4b4f68a370390e08263067402c6c70e49ec8)
Diffstat (limited to 'source4/auth/kerberos/config.m4')
-rw-r--r--source4/auth/kerberos/config.m45
1 files changed, 5 insertions, 0 deletions
diff --git a/source4/auth/kerberos/config.m4 b/source4/auth/kerberos/config.m4
index 67921e9717..e638ccfa2c 100644
--- a/source4/auth/kerberos/config.m4
+++ b/source4/auth/kerberos/config.m4
@@ -176,6 +176,8 @@ if test x$with_krb5_support != x"no"; then
with_krb5_support="no"
fi
+ AC_CHECK_HEADERS(kdc.h)
+
CFLAGS=$ac_save_CFLAGS
CPPFLAGS=$ac_save_CPPFLAGS
LDFLAGS=$ac_save_LDFLAGS
@@ -202,6 +204,8 @@ if test x"$with_krb5_support" != x"no"; then
AC_CHECK_LIB_EXT(com_err, KRB5_LIBS, _et_list)
AC_CHECK_LIB_EXT(k5crypto, KRB5_LIBS, krb5_encrypt_data)
+ AC_CHECK_LIB_EXT(kdc, KRB5_LIBS, krb5_kdc_default_config)
+
# Heimdal checks.
# But only if we didn't have a krb5-config to tell us this already
if test x"$FOUND_KRB5_VIA_CONFIG" != x"yes"; then
@@ -493,3 +497,4 @@ fi
SMB_EXT_LIB(KRB5,[${KRB5_LIBS}],[${KRB5_CFLAGS}],[${KRB5_CPPFLAGS}],[${KRB5_LDFLAGS}])
+