summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2011-12-07 11:43:01 +1100
committerAndrew Bartlett <abartlet@samba.org>2011-12-07 03:09:08 +0100
commit8d3e92d0430ec994d22ddd96babb430f8beb9315 (patch)
tree61ba6fb037eadbfecb62710956f8b37cf68fc837
parentf8e26c6920420aa072ef337ec5f7f5c40ba0f2e4 (diff)
downloadsamba-8d3e92d0430ec994d22ddd96babb430f8beb9315.tar.gz
samba-8d3e92d0430ec994d22ddd96babb430f8beb9315.tar.bz2
samba-8d3e92d0430ec994d22ddd96babb430f8beb9315.zip
s4-kdc: only build hdb plugin if we build against system Heimdal
It is not safe to have a system kadmin use our plugin if we do not share the same libkrb5. Andrew Bartlett
-rw-r--r--source4/kdc/wscript_build1
1 files changed, 1 insertions, 0 deletions
diff --git a/source4/kdc/wscript_build b/source4/kdc/wscript_build
index 6a6e4f2114..5b2ba28793 100644
--- a/source4/kdc/wscript_build
+++ b/source4/kdc/wscript_build
@@ -24,6 +24,7 @@ bld.SAMBA_LIBRARY('HDB_SAMBA4_PLUGIN',
link_name='modules/hdb/hdb_samba4.so',
realname='hdb_samba4.so',
install_path='${MODULESDIR}/hdb',
+ enabled = (bld.CONFIG_SET("USING_SYSTEM_KRB5") and bld.CONFIG_SET("USING_SYSTEM_HDB"))
)
bld.SAMBA_SUBSYSTEM('WDC_SAMBA4',