diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-05 17:47:29 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-05 17:47:29 +0000 |
commit | 4f5791ebd03eaec1c7da0865a383175b05102712 (patch) | |
tree | 8ce7b00f7a76baa386372422adebbe64510812d4 /source3/passdb/wscript_build | |
parent | Initial commit. (diff) | |
download | samba-4f5791ebd03eaec1c7da0865a383175b05102712.tar.xz samba-4f5791ebd03eaec1c7da0865a383175b05102712.zip |
Adding upstream version 2:4.17.12+dfsg.upstream/2%4.17.12+dfsgupstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'source3/passdb/wscript_build')
-rw-r--r-- | source3/passdb/wscript_build | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/source3/passdb/wscript_build b/source3/passdb/wscript_build new file mode 100644 index 0000000..7facc1f --- /dev/null +++ b/source3/passdb/wscript_build @@ -0,0 +1,42 @@ +#!/usr/bin/env python + +bld.SAMBA3_MODULE('pdb_tdbsam', + subsystem='pdb', + source='pdb_tdb.c', + deps='samba-util 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 LIBCLI_AUTH', + source='pdb_ldap.c pdb_nds.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_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()) + +pyrpc_util = bld.pyembed_libname('pyrpc_util') +pytalloc_util = bld.pyembed_libname('pytalloc-util') +bld.SAMBA3_PYTHON('pypassdb', + source='py_passdb.c', + deps='pdb', + public_deps=' '.join(['samba-util', 'tdb', 'talloc', pyrpc_util, pytalloc_util]), + realname='samba/samba3/passdb.so' + ) |