3 PDB_TDBSAM_SRC
= 'pdb_tdb.c'
4 PDB_LDAP_SRC
= 'pdb_ldap.c pdb_nds.c pdb_ipa.c pdb_ldap_util.c'
5 PDB_ADS_SRC
= 'pdb_ads.c'
6 PDB_SMBPASSWD_SRC
= 'pdb_smbpasswd.c'
7 PDB_WBC_SAM_SRC
= 'pdb_wbc_sam.c'
9 bld
.SAMBA3_MODULE('pdb_tdbsam',
11 source
=PDB_TDBSAM_SRC
,
12 deps
='samba-util tdb_compat dbwrap tdb-wrap3',
14 internal_module
=bld
.SAMBA3_IS_STATIC_MODULE('pdb_tdbsam'),
15 enabled
=bld
.SAMBA3_IS_ENABLED_MODULE('pdb_tdbsam'))
17 bld
.SAMBA3_MODULE('pdb_ldap',
22 internal_module
=bld
.SAMBA3_IS_STATIC_MODULE('pdb_ldap'),
23 enabled
=bld
.SAMBA3_IS_ENABLED_MODULE('pdb_ldap') and bld
.env
.HAVE_LDAP
)
25 bld
.SAMBA3_MODULE('pdb_ads',
28 deps
='cli-ldap-common TLDAP',
30 internal_module
=bld
.SAMBA3_IS_STATIC_MODULE('pdb_ads'),
31 enabled
=bld
.SAMBA3_IS_ENABLED_MODULE('pdb_ads'))
33 bld
.SAMBA3_MODULE('pdb_smbpasswd',
35 source
=PDB_SMBPASSWD_SRC
,
38 internal_module
=bld
.SAMBA3_IS_STATIC_MODULE('pdb_smbpasswd'),
39 enabled
=bld
.SAMBA3_IS_ENABLED_MODULE('pdb_smbpasswd'))
41 bld
.SAMBA3_MODULE('pdb_wbc_sam',
43 source
=PDB_WBC_SAM_SRC
,
44 deps
='samba-util wbclient',
46 internal_module
=bld
.SAMBA3_IS_STATIC_MODULE('pdb_wbc_sam'),
47 enabled
=bld
.SAMBA3_IS_ENABLED_MODULE('pdb_wbc_sam'))
49 bld
.SAMBA3_MODULE('pdb_samba4',
51 source
='pdb_samba4.c',
54 internal_module
=bld
.SAMBA3_IS_STATIC_MODULE('pdb_samba4'),
55 enabled
=bld
.SAMBA3_IS_ENABLED_MODULE('pdb_samba4'))
57 bld
.SAMBA3_PYTHON('pypassdb',
60 public_deps
='samba-util tdb_compat talloc pyrpc_util',
61 realname
='samba/samba3/passdb.so'