s4-provision: don't ask only 3 times for passwd in interactive mode
[Samba/gebeck_regimport.git] / source4 / kdc / wscript_build
blob22eee12c8bb43e0c95d0d6a42df2768c2ccf325a
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 PAC_GLUE',
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',
27 enabled = (bld.CONFIG_SET("USING_SYSTEM_KRB5") and bld.CONFIG_SET("USING_SYSTEM_HDB"))
30 bld.SAMBA_SUBSYSTEM('WDC_SAMBA4',
31 source='wdc-samba4.c',
32 includes='../heimdal/kdc',
33 deps='ldb auth4_sam auth_sam_reply samba-credentials hdb PAC_GLUE samba-hostconfig com_err'
37 bld.SAMBA_SUBSYSTEM('PAC_GLUE',
38 source='pac-glue.c',
39 includes='../heimdal/kdc',
40 deps='ldb auth4_sam auth_sam_reply samba-credentials hdb samba-hostconfig com_err'
43 bld.SAMBA_LIBRARY('pac',
44 source=[],
45 deps='PAC_GLUE',
46 private_library=True,
47 grouping_library=True)
50 bld.SAMBA_LIBRARY('db-glue',
51 source='db-glue.c',
52 deps='ldb auth4_sam auth_sam_reply samba-credentials hdb samba-hostconfig com_err kdc-policy',
53 private_library=True,
54 includes='../heimdal/kdc',
57 bld.SAMBA_LIBRARY('kdc-policy',
58 source='policy.c',
59 deps='samba-hostconfig authkrb5',
60 private_library=True,
61 autoproto = 'kdc-policy-proto.h'
65 bld.SAMBA_SUBSYSTEM('MIT_SAMBA',
66 source='mit_samba.c',
67 deps='ldb auth4_sam auth_sam_reply samba-credentials hdb db-glue PAC_GLUE samba-hostconfig com_err'
71 bld.SAMBA_LIBRARY('mit-samba',
72 source='',
73 deps='MIT_SAMBA',
74 external_library=True,
75 realname='mit_samba.so'