ldb: make ldb a top level library for Samba 4.0 Signed-off-by: Andrew Tridgell <tridge@samba.org>
ldb_map: Fix prefix for map functions.
s4-ldb: removed ldb_includes.h it causes problems with the openchange build as it is not installed Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Mon Nov 1 21:49:47 UTC 2010 on sn-devel-104
s4-ldb Add LDB_REQ_SET_LOCATION to help track handler use This greatly assists in debugging what is going on with the ldb handle, as it indicates where it was created. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Mon Oct 18 11:54:46 UTC 2010 on sn-devel-104
s4-ldb: take advantage of ldb_match_msg_error() in more places this gives better error checking
ldb:ldb_map_outbound.c - "ldb_parse_tree_collect_attrs" - remove unneeded return value
s4/ldb: ldb_msg_el_map_remote() should rename the remote attribute names into local names as defined in simple_ldap_map.c.
LDB:map - make LDB "signed-safe" on counter variables where appropriate
S4: ldb_map modules uses defines that are reserved On OpenSolaris MAP_RENAME and friends are defined in <sys/mman.h> e.g. mmap and friends. So on these systems MAP_* have a meaning. Cleaned up LDB name space by adding LDB_ in front of MAP_* e.g. MAP_RENAME => LDB_MAP_RENAME Signed-off-by: Torgeir Lerkerød <torgeir.lerkerod@gmail.com> Signed-off-by: Stefan Metzmacher <metze@samba.org>
s4:ldb_map Fix use-after-free of memory in ldb_map We need to keep the old 'ares' from the remote server around so we can forward it back to the caller. We can't send the same controls (from the last search entry) twice (and it makes no sense anyway). Andrew Bartlett
s4:ldb_map_outbound - fix memory leak Patch from Andrew Kroeger wasn't fully correct - we need a "talloc_free" after the "if (ac->r_current == NULL)" statement.
s4:ldb_map: Don't free ares too early. As found when running "make test" with the MALLOC_CHECK_ and MALLOC_PERTURB_ environment variables set.
remove all '\n' from ldb_debug
s4:ldb_map: include ldb_includes.h first to get replace.h as first header This should bring the build on AIX one step further. metze
Fix headers, ldb_includes.h is a private header, do not reference it from ldb.h
Fix misfiled headers. Some public functions were mistakenly put into ldb_private.h Revert all modules to only include ldb_module.h
s4:fix the build after 380874ef863866c94c999ef53252b9d30df65e88 metze
Fix the mess with ldb includes. Separate again the public from the private headers. Add a new header specific for modules. Also add service function for modules as now ldb_context and ldb_module are opaque structures for them.
s4:ldb: make it possible to return per entry controls Signed-off-by: Stefan Metzmacher <metze@samba.org>
LDB ASYNC: core modules