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_SMBPASSWD_SRC
= 'pdb_smbpasswd.c'
6 PDB_WBC_SAM_SRC
= 'pdb_wbc_sam.c'
8 bld
.SAMBA3_MODULE('pdb_tdbsam',
10 source
=PDB_TDBSAM_SRC
,
11 deps
='samba-util tdb_compat dbwrap tdb-wrap3',
13 internal_module
=bld
.SAMBA3_IS_STATIC_MODULE('pdb_tdbsam'),
14 enabled
=bld
.SAMBA3_IS_ENABLED_MODULE('pdb_tdbsam'))
16 bld
.SAMBA3_MODULE('pdb_ldap',
21 internal_module
=bld
.SAMBA3_IS_STATIC_MODULE('pdb_ldap'),
22 enabled
=bld
.SAMBA3_IS_ENABLED_MODULE('pdb_ldap') and bld
.env
.HAVE_LDAP
)
24 bld
.SAMBA3_MODULE('pdb_smbpasswd',
26 source
=PDB_SMBPASSWD_SRC
,
29 internal_module
=bld
.SAMBA3_IS_STATIC_MODULE('pdb_smbpasswd'),
30 enabled
=bld
.SAMBA3_IS_ENABLED_MODULE('pdb_smbpasswd'))
32 bld
.SAMBA3_MODULE('pdb_wbc_sam',
34 source
=PDB_WBC_SAM_SRC
,
35 deps
='samba-util wbclient',
37 internal_module
=bld
.SAMBA3_IS_STATIC_MODULE('pdb_wbc_sam'),
38 enabled
=bld
.SAMBA3_IS_ENABLED_MODULE('pdb_wbc_sam'))
40 bld
.SAMBA3_MODULE('pdb_samba_dsdb',
42 source
='pdb_samba_dsdb.c',
45 internal_module
=bld
.SAMBA3_IS_STATIC_MODULE('pdb_samba_dsdb') and bld
.AD_DC_BUILD_IS_ENABLED(),
46 enabled
=bld
.SAMBA3_IS_ENABLED_MODULE('pdb_samba_dsdb') and bld
.AD_DC_BUILD_IS_ENABLED())
48 bld
.SAMBA3_PYTHON('pypassdb',
51 public_deps
='samba-util tdb_compat talloc pyrpc_util',
52 realname
='samba/samba3/passdb.so'