2010-09-26 19:51:40 +02:00
#!/usr/bin/env python
2011-02-09 15:56:20 +11:00
bld.SAMBA3_MODULE('pdb_tdbsam',
2011-07-28 14:41:56 +10:00
subsystem='pdb',
2013-09-24 05:13:55 +02:00
source='pdb_tdb.c',
2015-03-12 14:40:16 +00:00
deps='samba-util dbwrap tdb-wrap3',
2010-09-26 19:51:40 +02:00
init_function='',
2010-12-01 12:10:03 +01:00
internal_module=bld.SAMBA3_IS_STATIC_MODULE('pdb_tdbsam'),
enabled=bld.SAMBA3_IS_ENABLED_MODULE('pdb_tdbsam'))
2010-09-26 19:51:40 +02:00
2013-01-28 16:16:42 +01:00
bld.SAMBA3_MODULE('pdb_ldapsam',
2011-07-28 14:41:56 +10:00
subsystem='pdb',
2019-10-19 23:48:19 +03:00
deps='smbldap smbldaphelper LIBCLI_AUTH',
2017-01-25 17:44:38 +01:00
source='pdb_ldap.c pdb_nds.c',
2010-09-26 19:51:40 +02:00
init_function='',
2013-01-28 16:16:42 +01:00
internal_module=bld.SAMBA3_IS_STATIC_MODULE('pdb_ldapsam'),
enabled=bld.SAMBA3_IS_ENABLED_MODULE('pdb_ldapsam') and bld.CONFIG_SET('HAVE_LDAP'))
2010-09-26 19:51:40 +02:00
2011-02-09 15:56:20 +11:00
bld.SAMBA3_MODULE('pdb_smbpasswd',
2011-07-28 14:41:56 +10:00
subsystem='pdb',
2013-09-24 05:13:55 +02:00
source='pdb_smbpasswd.c',
2011-06-20 20:36:46 +10:00
deps='samba-util',
2010-09-26 19:51:40 +02:00
init_function='',
2010-12-01 12:10:03 +01:00
internal_module=bld.SAMBA3_IS_STATIC_MODULE('pdb_smbpasswd'),
enabled=bld.SAMBA3_IS_ENABLED_MODULE('pdb_smbpasswd'))
2010-09-26 19:51:40 +02:00
2012-09-04 10:27:50 +10:00
bld.SAMBA3_MODULE('pdb_samba_dsdb',
2011-07-28 14:41:56 +10:00
subsystem='pdb',
2012-09-04 10:27:50 +10:00
source='pdb_samba_dsdb.c',
2011-05-07 00:50:04 +10:00
init_function='',
deps='IDMAP samdb',
2012-09-04 10:27:50 +10:00
internal_module=bld.SAMBA3_IS_STATIC_MODULE('pdb_samba_dsdb') and bld.AD_DC_BUILD_IS_ENABLED(),
enabled=bld.SAMBA3_IS_ENABLED_MODULE('pdb_samba_dsdb') and bld.AD_DC_BUILD_IS_ENABLED())
2011-05-07 00:50:04 +10:00
2019-02-15 16:37:48 +13:00
pyrpc_util = bld.pyembed_libname('pyrpc_util')
pytalloc_util = bld.pyembed_libname('pytalloc-util')
bld.SAMBA3_PYTHON('pypassdb',
2011-09-01 12:45:38 +10:00
source='py_passdb.c',
deps='pdb',
2018-03-28 15:53:50 +13:00
public_deps=' '.join(['samba-util', 'tdb', 'talloc', pyrpc_util, pytalloc_util]),
2011-09-01 12:45:38 +10:00
realname='samba/samba3/passdb.so'
)