2010-09-26 19:51:40 +02:00
#!/usr/bin/env python
PDB_TDBSAM_SRC = 'pdb_tdb.c'
2011-10-17 18:03:31 +02:00
PDB_LDAP_SRC = 'pdb_ldap.c pdb_nds.c pdb_ipa.c pdb_ldap_util.c pdb_ldap_schema.c'
2010-09-26 19:51:40 +02:00
PDB_ADS_SRC = 'pdb_ads.c'
PDB_SMBPASSWD_SRC = 'pdb_smbpasswd.c'
PDB_WBC_SAM_SRC = 'pdb_wbc_sam.c'
2011-02-09 15:56:20 +11:00
bld.SAMBA3_MODULE('pdb_tdbsam',
2011-07-28 14:41:56 +10:00
subsystem='pdb',
2010-09-26 19:51:40 +02:00
source=PDB_TDBSAM_SRC,
2011-06-28 16:39:36 +02:00
deps='samba-util tdb',
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
2011-02-09 15:56:20 +11:00
bld.SAMBA3_MODULE('pdb_ldap',
2011-07-28 14:41:56 +10:00
subsystem='pdb',
2011-10-17 17:19:27 +02:00
deps='smbldap',
2010-09-26 19:51:40 +02:00
source=PDB_LDAP_SRC,
init_function='',
2010-12-01 12:10:03 +01:00
internal_module=bld.SAMBA3_IS_STATIC_MODULE('pdb_ldap'),
2011-02-11 12:09:25 +01:00
enabled=bld.SAMBA3_IS_ENABLED_MODULE('pdb_ldap') and bld.env.HAVE_LDAP)
2010-09-26 19:51:40 +02:00
2011-02-09 15:56:20 +11:00
bld.SAMBA3_MODULE('pdb_ads',
2011-07-28 14:41:56 +10:00
subsystem='pdb',
2010-09-26 19:51:40 +02:00
source=PDB_ADS_SRC,
2011-04-08 11:16:45 +10:00
deps='cli-ldap-common TLDAP',
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_ads'),
enabled=bld.SAMBA3_IS_ENABLED_MODULE('pdb_ads'))
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',
2010-09-26 19:51:40 +02:00
source=PDB_SMBPASSWD_SRC,
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
2011-02-09 15:56:20 +11:00
bld.SAMBA3_MODULE('pdb_wbc_sam',
2011-07-28 14:41:56 +10:00
subsystem='pdb',
2010-09-26 19:51:40 +02:00
source=PDB_WBC_SAM_SRC,
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_wbc_sam'),
enabled=bld.SAMBA3_IS_ENABLED_MODULE('pdb_wbc_sam'))
2011-05-07 00:50:04 +10:00
bld.SAMBA3_MODULE('pdb_samba4',
2011-07-28 14:41:56 +10:00
subsystem='pdb',
2011-05-07 00:50:04 +10:00
source='pdb_samba4.c',
init_function='',
deps='IDMAP samdb',
internal_module=bld.SAMBA3_IS_STATIC_MODULE('pdb_samba4'),
enabled=bld.SAMBA3_IS_ENABLED_MODULE('pdb_samba4'))
2011-09-01 12:45:38 +10:00
bld.SAMBA3_PYTHON('pypassdb',
source='py_passdb.c',
deps='pdb',
public_deps='samba-util tdb talloc pyrpc_util',
realname='samba/samba3/passdb.so'
)