summaryrefslogtreecommitdiff
path: root/source3/passdb/wscript_build
blob: 2464b0e31b0617877822a121cdb145c1d8e66791 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
#!/usr/bin/env python

bld.SAMBA3_MODULE('pdb_tdbsam',
                 subsystem='pdb',
                 source='pdb_tdb.c',
                 deps='samba-util tdb_compat dbwrap tdb-wrap3',
                 init_function='',
                 internal_module=bld.SAMBA3_IS_STATIC_MODULE('pdb_tdbsam'),
                 enabled=bld.SAMBA3_IS_ENABLED_MODULE('pdb_tdbsam'))

bld.SAMBA3_MODULE('pdb_ldapsam',
                 subsystem='pdb',
                 deps='smbldap smbldaphelper',
                 source='pdb_ldap.c pdb_nds.c pdb_ipa.c',
                 init_function='',
                 internal_module=bld.SAMBA3_IS_STATIC_MODULE('pdb_ldapsam'),
                 enabled=bld.SAMBA3_IS_ENABLED_MODULE('pdb_ldapsam') and bld.CONFIG_SET('HAVE_LDAP'))

bld.SAMBA3_MODULE('pdb_smbpasswd',
                 subsystem='pdb',
                 source='pdb_smbpasswd.c',
                 deps='samba-util',
                 init_function='',
                 internal_module=bld.SAMBA3_IS_STATIC_MODULE('pdb_smbpasswd'),
                 enabled=bld.SAMBA3_IS_ENABLED_MODULE('pdb_smbpasswd'))

bld.SAMBA3_MODULE('pdb_wbc_sam',
                 subsystem='pdb',
                 source='pdb_wbc_sam.c',
                 deps='samba-util wbclient',
                 init_function='',
                 internal_module=bld.SAMBA3_IS_STATIC_MODULE('pdb_wbc_sam'),
                 enabled=bld.SAMBA3_IS_ENABLED_MODULE('pdb_wbc_sam'))

bld.SAMBA3_MODULE('pdb_samba_dsdb',
                  subsystem='pdb',
                  source='pdb_samba_dsdb.c',
                  init_function='',
                  deps='IDMAP samdb',
                  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())

bld.SAMBA3_PYTHON('pypassdb',
                  source='py_passdb.c',
                  deps='pdb',
                  public_deps='samba-util tdb_compat talloc pyrpc_util',
                  realname='samba/samba3/passdb.so'
                  )