3 # LDBSAMBA gets included in the ldb build when we are building ldb_ildap
4 # as a built-in module and this delutes the symbols in the ldb library with
5 # the symbols of all of ldb_ildap's dependencies.
7 bld
.SAMBA_LIBRARY('ldbsamba',
8 source
='ldif_handlers.c ldb_matching_rules.c',
9 autoproto
='ldif_handlers_proto.h',
11 deps
='samba-security ndr NDR_DRSBLOBS NDR_DNSP ldbwrap samdb-common SAMDB_SCHEMA tdb samba-errors',
15 bld
.SAMBA_SUBSYSTEM('ldbwrap',
17 public_headers
='ldb_wrap.h',
18 deps
='ldb samba-util ldbsamba samba-hostconfig'
21 pyparam_util
= bld
.pyembed_libname('pyparam_util')
22 pyldb_util
= bld
.pyembed_libname('pyldb-util')
24 bld
.SAMBA_PYTHON('python_samba__ldb', 'pyldb.c',
25 deps
='ldbsamba %s ldbwrap %s %s' % (pyparam_util
, pyldb_util
, pyauth
),
26 realname
='samba/_ldb.so')
28 bld
.SAMBA_MODULE('ldbsamba_extensions',
29 source
='samba_extensions.c',
30 init_function
='ldb_samba_extensions_init',
31 module_init_name
='ldb_init_module',
33 deps
='ldb ldbsamba POPT_SAMBA POPT_CREDENTIALS cmdline-credentials gensec',
34 internal_module
=False)
37 # the s4-internal ldap backend
38 bld
.SAMBA_MODULE('ldb_ildap',
40 init_function
='ldb_ildap_init',
41 module_init_name
='ldb_init_module',
42 deps
='talloc cli-ldap samba-credentials auth_system_session',
43 internal_module
=False,