summaryrefslogtreecommitdiff
path: root/source4/lib/ldb/wscript
AgeCommit message (Collapse)AuthorFilesLines
2011-02-22python: use os.environ[] instead of os.putenv()Andrew Tridgell1-1/+1
using os.putenv() causes too much confusion, as it doesn't update os.getenv() Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-02-21ldb: controls marshalling/unmarshalling improvementMatthieu Patou1-1/+1
Add a function to marshall a control to a string Refactor the code of ldb_control_parse_strings to allow to extract the core code into ldb_control_parse_from_string so that this function can be called for just 1 string
2011-02-14Increase minor version since a public header has changedSimo Sorce1-1/+1
Samba4 now depends on a new macro defined in the public ldb_modules.h header: LDB_FLAG_INTERNAL_FORCE_SINGLE_VALUE_CHECK. Bump up the minor release of ldb accordingly. Autobuild-User: Simo Sorce <idra@samba.org> Autobuild-Date: Mon Feb 14 19:39:31 CET 2011 on sn-devel-104
2011-02-10ldb: change version number to 1.0.0Andrew Tridgell1-1/+1
Simo pointed out that the module loading change should have been combined with a major version number. That seems like a good excuse for a 1.0 release Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-02-10ldb: added a include/ldb_version.hAndrew Tridgell1-2/+9
this fixes a problem with the installed ldb_modules.h header, which depended on LDB_VERSION being defined. Thanks to Simo for noticing this! Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-01-17ldb: added ldb_req_mark_trusted()Andrew Tridgell1-1/+1
this is used to mark a ldb child request trusted, if the caller has validated all inputs. This will be used when creating new child requests with trusted inputs. Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-01-14ldb: added ldb_dn_get_extended_comp_num()Andrew Tridgell1-1/+1
this returns the number of extended components. We need this to validate a DN in the extended_dn_in module Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-01-03pyldb: Use pytalloc-util.Jelmer Vernooij1-1/+1
2010-12-27s4:ldb: setup TEST_DATA_PREFIX for make testStefan Metzmacher1-1/+5
metze
2010-12-19ldb: Bump version after renaming some public symbols which didn't have aJelmer Vernooij1-1/+1
ldb_ prefix.
2010-12-15ldb: Bump API after symbol changes.Jelmer Vernooij1-1/+1
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Wed Dec 15 18:18:52 CET 2010 on sn-devel-104
2010-12-15ldb: Build modules as .so files.Jelmer Vernooij1-0/+9
2010-12-15build: openbsd plateform is openbsd4Matthieu Patou1-1/+1
Autobuild-User: Matthieu Patou <mat@samba.org> Autobuild-Date: Wed Dec 15 10:55:08 CET 2010 on sn-devel-104
2010-12-14build do not add -no-undefined on openbsdMatthieu Patou1-1/+2
2010-12-09waf: remove the restriction that private libraries must not have a vnumAndrew Tridgell1-4/+2
we need the vnum for ABI checking for public libraries built as private libraries when bundled Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Thu Dec 9 12:47:41 CET 2010 on sn-devel-104
2010-12-09waf-abi: auto-generate per-symbol versions from ABI filesAndrew Tridgell1-2/+1
This changes our version-script generation to use the ABI files that are saved in git with each version number change of our public libraries. We use these ABI files to generate a linker version script that gives the exact version number that each symbol was introduced. This provides us with automatic fine grained symbol versioning. Pair-Programmed-With: Jelmer Vernooij <jelmer@samba.org> Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-12-08s4:ldb: build libldb and pyldb-util as private libraries when building for ↵Stefan Metzmacher1-3/+12
samba4 This matches the behavior of the talloc and tdb builds. metze
2010-12-08ldb: bump version number after introduction of new constant.Jelmer Vernooij1-1/+1
2010-11-23pyldb: Fix broken test.Jelmer Vernooij1-0/+1
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Tue Nov 23 23:20:38 CET 2010 on sn-devel-104
2010-11-21s4-ldb: fixed the build with a space in the ldb modules directory nameAndrew Tridgell1-1/+1
Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Sun Nov 21 13:57:14 CET 2010 on sn-devel-104
2010-11-14Re-enable ldb-cmdline for the moment, as it is used by oLschema2ldif.Jelmer Vernooij1-5/+5
2010-11-14Don't build ldb tools when there is a system provided ldb.Jelmer Vernooij1-13/+13
2010-11-03s4-ldb: make ldbtest depend on ldbAndrew Tridgell1-1/+1
2010-11-03waf: added reconfigure targets to our librariesAndrew Tridgell1-0/+5
This allows you to do "make reconfigure" to re-run configure only if needed
2010-11-03s4-ldb: expose some more ldb module functionsAndrew Tridgell1-1/+1
this exposes enough functions for s4 to not need ldb_private.h any more.
2010-11-01s4-ldb: added support for ldb module version checkingAndrew Tridgell1-2/+4
2010-11-01s4-ldb: convert existing ldb tools to use new command line hooksAndrew Tridgell1-45/+14
the usage() function needs to take a ldb context, as the popt_options is specific to the ldb context Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-11-01s4-ldb: convert the rest of the ldb modules to the new styleAndrew Tridgell1-11/+20
2010-11-01s4-ldb: convert the openldap ldb backend to the new style of moduleAndrew Tridgell1-2/+3
2010-11-01s4-ldb: convert the ildap module to the new type of ldb moduleAndrew Tridgell1-2/+2
this gets rid of the module aliases, which caused issues on some systems (eg. gentoo).
2010-11-01s4-ldb: support a new type of ldb module loadingAndrew Tridgell1-1/+1
this supports module loading in ldb which uses the approach of "load all modules in a directory". This is much more flexible than the current module loading, as it will allow us to load modules for command line parsing and authentication. Modules are loaded from a colon separated path, in the environment variable LDB_MODULES_PATH. If unset, it defaults to LDB_MODULESDIR. Within each directory modules are loaded recursively (traversing down the directory tree). The device/inode number of each module is remembered to prevent us loading a module twice. Each module is checked for a ldb_init_module() function with dlsym(). If found, it is called with the ldb module version as an argument.
2010-10-30s4-cmdline: make cmdline-credentials a private libraryAndrew Tridgell1-1/+1
2010-10-30s4-ldb: add explicit depenencies on ldb library in ldb modulesAndrew Tridgell1-2/+10
ldb modules call module functions from the main ldb library Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-10-30s4-ldb: create a private library ldb-cmdlineAndrew Tridgell1-5/+6
this prevents duplicate linking of the cmdline support code
2010-10-26waf: Only specify vnum for non-private libraries.Jelmer Vernooij1-2/+6
2010-10-26waf: Stop automaticaly changing dashes to underscores in library names.Jelmer Vernooij1-1/+1
2010-10-25waf: moved the -Wl,-no-undefined flags to source4 and ldbAndrew Tridgell1-0/+4
moved it out of the general waf build as the s3 waf build cannot yet handle linking with -Wl,-no-undefined Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Mon Oct 25 01:12:15 UTC 2010 on sn-devel-104
2010-10-24ldb: Rename pyldb pkg-config file to pyldb-util, to avoid confusion withJelmer Vernooij1-6/+6
'ldb' python module.
2010-10-24s4: Rename LIBCLI_LDAP to libcli_ldap.Jelmer Vernooij1-1/+1
2010-10-23waf: Rename some BUNDLED_ functios to PRIVATE_.Jelmer Vernooij1-1/+1
2010-10-23ldb: Support using system pyldb library.Jelmer Vernooij1-8/+12
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sat Oct 23 19:24:25 UTC 2010 on sn-devel-104
2010-10-23ldb: Install pkg-config file for pyldb.Jelmer Vernooij1-0/+1
2010-10-23ldb: Install pyldb-util as public library.Jelmer Vernooij1-2/+3
2010-10-21s4-ldb: make ldb_options_find() publicAndrew Tridgell1-1/+1
we need to make this symbol public to allow for -Wl,-no-undefined, as otherwise the pyldb module can't find the symbol when it creates the module
2010-10-21s4-ldb: make pyldb_util a private libraryAndrew Tridgell1-1/+5
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-10-21waf: replace the is_bundled option with private_libraryAndrew Tridgell1-1/+1
'private_library' better captures what we are trying to get at when we bundle a library
2010-10-19s4-ldb: increase minor version for 2 new functionsAndrew Tridgell1-1/+1
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Tue Oct 19 01:27:44 UTC 2010 on sn-devel-104
2010-10-13ldb: Only build LIBLDB_MAIN when building ldb itself.Jelmer Vernooij1-8/+8
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Wed Oct 13 15:41:29 UTC 2010 on sn-devel-104
2010-10-13ldb: raise minor version number for new ldb_msg_match_error() functionAndrew Tridgell1-1/+1
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Wed Oct 13 11:42:18 UTC 2010 on sn-devel-104
2010-10-13ldb: when running from build directory, use the build modulesAndrew Tridgell1-27/+35
we need to use the build modules, not the installed modules, so tests run from the source directory are valid Pair-Programmed-With: Jelmer Vernooij <jelmer@samba.org>