3 bld
.SAMBA3_MODULE('pdb_tdbsam',
6 deps
='samba-util dbwrap tdb-wrap3',
8 internal_module
=bld
.SAMBA3_IS_STATIC_MODULE('pdb_tdbsam'),
9 enabled
=bld
.SAMBA3_IS_ENABLED_MODULE('pdb_tdbsam'))
11 bld
.SAMBA3_MODULE('pdb_ldapsam',
13 deps
='smbldap smbldaphelper LIBCLI_AUTH',
14 source
='pdb_ldap.c pdb_nds.c',
16 internal_module
=bld
.SAMBA3_IS_STATIC_MODULE('pdb_ldapsam'),
17 enabled
=bld
.SAMBA3_IS_ENABLED_MODULE('pdb_ldapsam') and bld
.CONFIG_SET('HAVE_LDAP'))
19 bld
.SAMBA3_MODULE('pdb_smbpasswd',
21 source
='pdb_smbpasswd.c',
24 internal_module
=bld
.SAMBA3_IS_STATIC_MODULE('pdb_smbpasswd'),
25 enabled
=bld
.SAMBA3_IS_ENABLED_MODULE('pdb_smbpasswd'))
27 bld
.SAMBA3_MODULE('pdb_samba_dsdb',
29 source
='pdb_samba_dsdb.c',
32 internal_module
=bld
.SAMBA3_IS_STATIC_MODULE('pdb_samba_dsdb') and bld
.AD_DC_BUILD_IS_ENABLED(),
33 enabled
=bld
.SAMBA3_IS_ENABLED_MODULE('pdb_samba_dsdb') and bld
.AD_DC_BUILD_IS_ENABLED())
35 pyrpc_util
= bld
.pyembed_libname('pyrpc_util')
36 pytalloc_util
= bld
.pyembed_libname('pytalloc-util')
37 bld
.SAMBA3_PYTHON('pypassdb',
40 public_deps
=' '.join(['samba-util', 'tdb', 'talloc', pyrpc_util
, pytalloc_util
]),
41 realname
='samba/samba3/passdb.so'