2010-03-28 09:48:49 +11:00
#!/usr/bin/env python
2010-11-14 17:09:34 +01:00
bld.SAMBA_MODULE('service_kdc',
2010-11-12 17:23:34 +11:00
source='kdc.c kpasswdd.c proxy.c',
2010-03-17 22:07:42 +11:00
subsystem='service',
init_function='server_service_kdc_init',
2010-10-24 10:42:58 -07:00
deps='kdc HDB_SAMBA4 WDC_SAMBA4 samba-hostconfig LIBTSOCKET LIBSAMBA_TSOCKET com_err samba_server_gensec',
2010-11-15 00:46:12 +01:00
internal_module=False,
2010-03-17 22:07:42 +11:00
)
2011-11-30 07:45:25 +11:00
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
)
2010-03-17 22:07:42 +11:00
2011-11-30 07:45:25 +11:00
# 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',
2011-12-07 11:43:01 +11:00
enabled = (bld.CONFIG_SET("USING_SYSTEM_KRB5") and bld.CONFIG_SET("USING_SYSTEM_HDB"))
2011-11-30 07:45:25 +11:00
)
2010-03-17 22:07:42 +11:00
bld.SAMBA_SUBSYSTEM('WDC_SAMBA4',
source='wdc-samba4.c',
2010-10-04 16:00:17 +02:00
includes='../heimdal/kdc',
2011-08-18 20:43:00 +02:00
deps='ldb auth4_sam auth_sam_reply samba-credentials hdb PAC_GLUE samba-hostconfig com_err'
2010-03-17 22:07:42 +11:00
)
bld.SAMBA_SUBSYSTEM('PAC_GLUE',
source='pac-glue.c',
2010-10-04 16:00:17 +02:00
includes='../heimdal/kdc',
2011-08-18 20:43:00 +02:00
deps='ldb auth4_sam auth_sam_reply samba-credentials hdb samba-hostconfig com_err'
2010-03-17 22:07:42 +11:00
)
2010-10-29 11:48:06 +11:00
bld.SAMBA_LIBRARY('pac',
2010-11-07 02:05:51 +01:00
source=[],
deps='PAC_GLUE',
private_library=True,
grouping_library=True)
2010-10-29 11:48:06 +11:00
2010-03-17 22:07:42 +11:00
2010-10-24 11:26:09 -07:00
bld.SAMBA_LIBRARY('db-glue',
2010-03-17 22:07:42 +11:00
source='db-glue.c',
2011-08-18 20:43:00 +02:00
deps='ldb auth4_sam auth_sam_reply samba-credentials hdb samba-hostconfig com_err kdc-policy',
2011-03-19 00:43:50 +01:00
private_library=True,
includes='../heimdal/kdc',
2010-03-17 22:07:42 +11:00
)
2010-12-09 14:17:54 +11:00
bld.SAMBA_LIBRARY('kdc-policy',
source='policy.c',
deps='samba-hostconfig authkrb5',
private_library=True,
autoproto = 'kdc-policy-proto.h'
)
2010-03-17 22:07:42 +11:00
bld.SAMBA_SUBSYSTEM('MIT_SAMBA',
source='mit_samba.c',
2011-08-18 20:43:00 +02:00
deps='ldb auth4_sam auth_sam_reply samba-credentials hdb db-glue PAC_GLUE samba-hostconfig com_err'
2010-03-17 22:07:42 +11:00
)
2010-10-24 11:26:09 -07:00
bld.SAMBA_LIBRARY('mit-samba',
source='',
deps='MIT_SAMBA',
external_library=True,
realname='mit_samba.so'
)
2010-03-17 22:07:42 +11:00