From: Andrew Bartlett Date: Wed, 7 Dec 2011 00:43:01 +0000 (+1100) Subject: s4-kdc: only build hdb plugin if we build against system Heimdal X-Git-Url: http://git.samba.org/?a=commitdiff_plain;ds=sidebyside;h=8d3e92d0430ec994d22ddd96babb430f8beb9315;p=kai%2Fsamba.git 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 --- diff --git a/source4/kdc/wscript_build b/source4/kdc/wscript_build index 6a6e4f21148..5b2ba28793d 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',