samba-tool: refuse to demote if the current DC has still roles
[Samba/gebeck_regimport.git] / source4 / kdc / wscript_build
blob6a6e4f211487c87bb6e0bea0668034ace7166bc5
1 #!/usr/bin/env python
3 bld.SAMBA_MODULE('service_kdc',
4 source='kdc.c kpasswdd.c proxy.c',
5 subsystem='service',
6 init_function='server_service_kdc_init',
7 deps='kdc HDB_SAMBA4 WDC_SAMBA4 samba-hostconfig LIBTSOCKET LIBSAMBA_TSOCKET com_err samba_server_gensec',
8 internal_module=False,
12 bld.SAMBA_LIBRARY('HDB_SAMBA4',
13 source='hdb-samba4.c hdb-samba4-plugin.c',
14 deps='ldb auth4_sam auth_sam_reply samba-credentials hdb db-glue samba-hostconfig com_err',
15 includes='../heimdal/kdc',
16 private_library=True
19 # A plugin for Heimdal's kadmin for users who need to operate that tool
20 bld.SAMBA_LIBRARY('HDB_SAMBA4_PLUGIN',
21 source='hdb-samba4-plugin.c',
22 deps='hdb HDB_SAMBA4 samba-util samba-hostconfig ',
23 includes='../heimdal/kdc',
24 link_name='modules/hdb/hdb_samba4.so',
25 realname='hdb_samba4.so',
26 install_path='${MODULESDIR}/hdb',
29 bld.SAMBA_SUBSYSTEM('WDC_SAMBA4',
30 source='wdc-samba4.c',
31 includes='../heimdal/kdc',
32 deps='ldb auth4_sam auth_sam_reply samba-credentials hdb PAC_GLUE samba-hostconfig com_err'
36 bld.SAMBA_SUBSYSTEM('PAC_GLUE',
37 source='pac-glue.c',
38 includes='../heimdal/kdc',
39 deps='ldb auth4_sam auth_sam_reply samba-credentials hdb samba-hostconfig com_err'
42 bld.SAMBA_LIBRARY('pac',
43 source=[],
44 deps='PAC_GLUE',
45 private_library=True,
46 grouping_library=True)
49 bld.SAMBA_LIBRARY('db-glue',
50 source='db-glue.c',
51 deps='ldb auth4_sam auth_sam_reply samba-credentials hdb samba-hostconfig com_err kdc-policy',
52 private_library=True,
53 includes='../heimdal/kdc',
56 bld.SAMBA_LIBRARY('kdc-policy',
57 source='policy.c',
58 deps='samba-hostconfig authkrb5',
59 private_library=True,
60 autoproto = 'kdc-policy-proto.h'
64 bld.SAMBA_SUBSYSTEM('MIT_SAMBA',
65 source='mit_samba.c',
66 deps='ldb auth4_sam auth_sam_reply samba-credentials hdb db-glue PAC_GLUE samba-hostconfig com_err'
70 bld.SAMBA_LIBRARY('mit-samba',
71 source='',
72 deps='MIT_SAMBA',
73 external_library=True,
74 realname='mit_samba.so'