summaryrefslogtreecommitdiff
path: root/source4/kdc/wscript_build
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2011-11-30 07:45:25 +1100
committerAndrew Bartlett <abartlet@samba.org>2011-11-30 03:22:11 +0100
commit12ce07e53b9453f35a1483d941bfce9c23f790a0 (patch)
tree30ccccb52153031095f8b68a666fb7d101432ec4 /source4/kdc/wscript_build
parent0ee447fef5563e2b26fac6cac7c8fd7a71c80c0a (diff)
downloadsamba-12ce07e53b9453f35a1483d941bfce9c23f790a0.tar.gz
samba-12ce07e53b9453f35a1483d941bfce9c23f790a0.tar.bz2
samba-12ce07e53b9453f35a1483d941bfce9c23f790a0.zip
s4-kdc: Add hdb plugin for samba4, to allow kadmin to work
This will help users who are used to the kadmin interface, and could be extended to import existing MIT or Heimdal keys into a Samba4 AD domain. To use, add to your krb5.conf [kdc] database = { dbname = samba4: } or [kdc] database = { dbname = samba4:/usr/local/samba/etc/smb.conf } And copy hdb_samba4.so from PREFIX/modules/hdb to your Heimdal lib directory Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Wed Nov 30 03:22:11 CET 2011 on sn-devel-104
Diffstat (limited to 'source4/kdc/wscript_build')
-rw-r--r--source4/kdc/wscript_build22
1 files changed, 16 insertions, 6 deletions
diff --git a/source4/kdc/wscript_build b/source4/kdc/wscript_build
index aec1cb28d9..6a6e4f2114 100644
--- a/source4/kdc/wscript_build
+++ b/source4/kdc/wscript_build
@@ -9,12 +9,22 @@ bld.SAMBA_MODULE('service_kdc',
)
-bld.SAMBA_SUBSYSTEM('HDB_SAMBA4',
- source='hdb-samba4.c',
- deps='ldb auth4_sam auth_sam_reply samba-credentials hdb db-glue samba-hostconfig com_err',
- includes='../heimdal/kdc',
- )
-
+bld.SAMBA_LIBRARY('HDB_SAMBA4',
+ source='hdb-samba4.c hdb-samba4-plugin.c',
+ deps='ldb auth4_sam auth_sam_reply samba-credentials hdb db-glue samba-hostconfig com_err',
+ includes='../heimdal/kdc',
+ private_library=True
+ )
+
+# A plugin for Heimdal's kadmin for users who need to operate that tool
+bld.SAMBA_LIBRARY('HDB_SAMBA4_PLUGIN',
+ source='hdb-samba4-plugin.c',
+ deps='hdb HDB_SAMBA4 samba-util samba-hostconfig ',
+ includes='../heimdal/kdc',
+ link_name='modules/hdb/hdb_samba4.so',
+ realname='hdb_samba4.so',
+ install_path='${MODULESDIR}/hdb',
+ )
bld.SAMBA_SUBSYSTEM('WDC_SAMBA4',
source='wdc-samba4.c',