From 8d3e92d0430ec994d22ddd96babb430f8beb9315 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Wed, 7 Dec 2011 11:43:01 +1100 Subject: 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 --- source4/kdc/wscript_build | 1 + 1 file changed, 1 insertion(+) (limited to 'source4/kdc') 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', -- cgit