summaryrefslogtreecommitdiff
path: root/source4/kdc
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2010-06-19 15:32:27 +0200
committerJelmer Vernooij <jelmer@samba.org>2010-06-19 15:32:27 +0200
commitb099631f428d0ecc641d59bd3c94674e6348dde9 (patch)
treeeb1eaa3fbf3e55860afc44b233287aca54ca4acc /source4/kdc
parentb03637cb9e1690f7c571186456229ad7c40b3740 (diff)
downloadsamba-b099631f428d0ecc641d59bd3c94674e6348dde9.tar.gz
samba-b099631f428d0ecc641d59bd3c94674e6348dde9.tar.bz2
samba-b099631f428d0ecc641d59bd3c94674e6348dde9.zip
heimdal/waf: Initial work on making it possible to use the system
heimdal again. Still missing are the detection of the right Heimdal version and linking (unresolved symbols at the moment).
Diffstat (limited to 'source4/kdc')
-rw-r--r--source4/kdc/hdb-samba4.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source4/kdc/hdb-samba4.c b/source4/kdc/hdb-samba4.c
index 6534dbd27a..9d5d44a5d2 100644
--- a/source4/kdc/hdb-samba4.c
+++ b/source4/kdc/hdb-samba4.c
@@ -242,7 +242,9 @@ NTSTATUS hdb_samba4_create_kdc(struct samba_kdc_base_context *base_ctx,
(*db)->hdb_auth_status = NULL;
(*db)->hdb_check_constrained_delegation = hdb_samba4_check_identical_client_and_server;
(*db)->hdb_check_pkinit_ms_upn_match = hdb_samba4_check_pkinit_ms_upn_match;
+#ifdef HDB_STRUCT_HAS_HDB_CHECK_S4U2SELF
(*db)->hdb_check_s4u2self = hdb_samba4_check_identical_client_and_server;
+#endif
return NT_STATUS_OK;
}