3 PDB_TDBSAM_SRC
= 'pdb_tdb.c'
4 PDB_LDAP_SRC
= 'pdb_ldap.c pdb_nds.c pdb_ipa.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 # This cannot be built as a shared module cause it has two init functions. The
17 # code needs to be cleaned up and split to allow this.
18 bld
.SAMBA3_MODULE('pdb_ldap',
20 deps
='smbldap smbldaphelper',
24 enabled
=bld
.CONFIG_SET('HAVE_LDAP'))
26 bld
.SAMBA3_MODULE('pdb_smbpasswd',
28 source
=PDB_SMBPASSWD_SRC
,
31 internal_module
=bld
.SAMBA3_IS_STATIC_MODULE('pdb_smbpasswd'),
32 enabled
=bld
.SAMBA3_IS_ENABLED_MODULE('pdb_smbpasswd'))
34 bld
.SAMBA3_MODULE('pdb_wbc_sam',
36 source
=PDB_WBC_SAM_SRC
,
37 deps
='samba-util wbclient',
39 internal_module
=bld
.SAMBA3_IS_STATIC_MODULE('pdb_wbc_sam'),
40 enabled
=bld
.SAMBA3_IS_ENABLED_MODULE('pdb_wbc_sam'))
42 bld
.SAMBA3_MODULE('pdb_samba_dsdb',
44 source
='pdb_samba_dsdb.c',
47 internal_module
=bld
.SAMBA3_IS_STATIC_MODULE('pdb_samba_dsdb') and bld
.AD_DC_BUILD_IS_ENABLED(),
48 enabled
=bld
.SAMBA3_IS_ENABLED_MODULE('pdb_samba_dsdb') and bld
.AD_DC_BUILD_IS_ENABLED())
50 bld
.SAMBA3_PYTHON('pypassdb',
53 public_deps
='samba-util tdb_compat talloc pyrpc_util',
54 realname
='samba/samba3/passdb.so'