talloc: Fix CID 1373621 Unchecked return value
[Samba.git] / source3 / passdb / wscript_build
blob105777a2b94fee4aa84aa3ac3758f4d4cbf849b6
1 #!/usr/bin/env python
3 bld.SAMBA3_MODULE('pdb_tdbsam',
4 subsystem='pdb',
5 source='pdb_tdb.c',
6 deps='samba-util dbwrap tdb-wrap3',
7 init_function='',
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',
12 subsystem='pdb',
13 deps='smbldap smbldaphelper',
14 source='pdb_ldap.c pdb_nds.c pdb_ipa.c',
15 init_function='',
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',
20 subsystem='pdb',
21 source='pdb_smbpasswd.c',
22 deps='samba-util',
23 init_function='',
24 internal_module=bld.SAMBA3_IS_STATIC_MODULE('pdb_smbpasswd'),
25 enabled=bld.SAMBA3_IS_ENABLED_MODULE('pdb_smbpasswd'))
27 bld.SAMBA3_MODULE('pdb_wbc_sam',
28 subsystem='pdb',
29 source='pdb_wbc_sam.c',
30 deps='samba-util wbclient',
31 init_function='',
32 internal_module=bld.SAMBA3_IS_STATIC_MODULE('pdb_wbc_sam'),
33 enabled=bld.SAMBA3_IS_ENABLED_MODULE('pdb_wbc_sam'))
35 bld.SAMBA3_MODULE('pdb_samba_dsdb',
36 subsystem='pdb',
37 source='pdb_samba_dsdb.c',
38 init_function='',
39 deps='IDMAP samdb',
40 internal_module=bld.SAMBA3_IS_STATIC_MODULE('pdb_samba_dsdb') and bld.AD_DC_BUILD_IS_ENABLED(),
41 enabled=bld.SAMBA3_IS_ENABLED_MODULE('pdb_samba_dsdb') and bld.AD_DC_BUILD_IS_ENABLED())
43 bld.SAMBA3_PYTHON('pypassdb',
44 source='py_passdb.c',
45 deps='pdb',
46 public_deps='samba-util tdb talloc pyrpc_util pytalloc-util',
47 realname='samba/samba3/passdb.so'