3 IDMAP_AD_SRC
= '''idmap_ad.c'''
4 IDMAP_RID_SRC
= '''idmap_rid.c'''
5 IDMAP_PASSDB_SRC
= '''idmap_passdb.c'''
6 IDMAP_LDAP_SRC
= '''idmap_ldap.c'''
7 IDMAP_NSS_SRC
= '''idmap_nss.c'''
8 IDMAP_TDB_SRC
= '''idmap_tdb.c'''
9 IDMAP_TDB2_SRC
= '''idmap_tdb2.c'''
11 IDMAP_HASH_SRC
= '''idmap_hash/idmap_hash.c
12 idmap_hash/mapfile.c'''
14 IDMAP_ADEX_SRC
= '''idmap_adex/idmap_adex.c
15 idmap_adex/cell_util.c
16 idmap_adex/likewise_cell.c
17 idmap_adex/provider_unified.c
19 idmap_adex/domain_util.c'''
21 IDMAP_RW_SRC
= 'idmap_rw.c'
22 IDMAP_SRC
= 'idmap.c idmap_util.c ${IDMAP_RW_SRC}'
24 bld
.SAMBA_SUBSYSTEM('IDMAP',
26 deps
='''IDMAP_AD IDMAP_RID IDMAP_PASSDB IDMAP_LDAP IDMAP_TDB2 IDMAP_HASH IDMAP_ADEX''',
29 bld
.SAMBA_MODULE('IDMAP_AD',
33 internal_module
=bld
.SAMBA3_IS_STATIC_MODULE('IDMAP_AD'),
34 enabled
=bld
.SAMBA3_IS_ENABLED_MODULE('IDMAP_AD'))
36 bld
.SAMBA_MODULE('IDMAP_RID',
40 internal_module
=bld
.SAMBA3_IS_STATIC_MODULE('IDMAP_RID'),
41 enabled
=bld
.SAMBA3_IS_ENABLED_MODULE('IDMAP_RID'))
43 bld
.SAMBA_MODULE('IDMAP_PASSDB',
45 source
=IDMAP_PASSDB_SRC
,
47 internal_module
=bld
.SAMBA3_IS_STATIC_MODULE('IDMAP_PASSDB'),
48 enabled
=bld
.SAMBA3_IS_ENABLED_MODULE('IDMAP_PASSDB'))
50 bld
.SAMBA_MODULE('IDMAP_LDAP',
52 source
=IDMAP_LDAP_SRC
,
54 internal_module
=bld
.SAMBA3_IS_STATIC_MODULE('IDMAP_LDAP'),
55 enabled
=bld
.SAMBA3_IS_ENABLED_MODULE('IDMAP_LDAP'))
57 bld
.SAMBA_MODULE('IDMAP_NSS',
61 internal_module
=bld
.SAMBA3_IS_STATIC_MODULE('IDMAP_NSS'),
62 enabled
=bld
.SAMBA3_IS_ENABLED_MODULE('IDMAP_NSS'))
64 bld
.SAMBA_MODULE('IDMAP_TDB',
68 internal_module
=bld
.SAMBA3_IS_STATIC_MODULE('IDMAP_TDB'),
69 enabled
=bld
.SAMBA3_IS_ENABLED_MODULE('IDMAP_TDB'))
71 bld
.SAMBA_MODULE('IDMAP_TDB2',
73 source
=IDMAP_TDB2_SRC
,
75 internal_module
=bld
.SAMBA3_IS_STATIC_MODULE('IDMAP_TDB2'),
76 enabled
=bld
.SAMBA3_IS_ENABLED_MODULE('IDMAP_TDB2'))
78 bld
.SAMBA_MODULE('IDMAP_HASH',
80 source
=IDMAP_HASH_SRC
,
82 internal_module
=bld
.SAMBA3_IS_STATIC_MODULE('IDMAP_HASH'),
83 enabled
=bld
.SAMBA3_IS_ENABLED_MODULE('IDMAP_HASH'))
85 bld
.SAMBA_MODULE('IDMAP_ADEX',
87 source
=IDMAP_ADEX_SRC
,
89 internal_module
=bld
.SAMBA3_IS_STATIC_MODULE('IDMAP_ADEX'),
90 enabled
=bld
.SAMBA3_IS_ENABLED_MODULE('IDMAP_ADEX'))