summaryrefslogtreecommitdiff
path: root/source4/lib/ldb
AgeCommit message (Collapse)AuthorFilesLines
2011-01-18s4-pyldb Fix tp_basicsize for PyLdbDnAndrew Bartlett1-1/+1
This wasn't actually causing problems before, as the structures were the same size. Andrew Bartlett
2011-01-18s4-ldb_ldif: Take into account LDB_FLG_SHOW_BINARYKamen Mazdrashki1-1/+4
when user requires binary data to be displayed using samba user-friendly ldif handlers Found using following test search: bin/ldbsearch -H st/dc/private/sam.ldb -b "CN=Deleted Objects,DC=samba,DC=example,DC=com" \ "(objectGUID=97b52eac-6d89-434d-b935-1e5f2e086ffc)" replPropertyMetaData --show-deleted --show-binary Autobuild-User: Kamen Mazdrashki <kamenim@samba.org> Autobuild-Date: Tue Jan 18 00:40:01 CET 2011 on sn-devel-104
2011-01-18s4-ldb_ldif: Don't check for LDB_FLG_SHOW_BINARY in ldb_should_b64_encodeKamen Mazdrashki1-4/+0
LDB_FLG_SHOW_BINARY is data representation flag and should not modify behavior of data checking functions. This lead to a bug in lib/ldb/ldb_tdb/ldb_index.c as ltdb_index_key() function relies on ldb_should_b64_encode function to determine how to process index keys. Found using following test search: bin/ldbsearch -H st/dc/private/sam.ldb -b "CN=Deleted Objects,DC=samba,DC=example,DC=com" \ "(objectGUID=97b52eac-6d89-434d-b935-1e5f2e086ffc)" replPropertyMetaData --show-deleted --show-binary
2011-01-17ldb: new ABI sigs fileAndrew Tridgell1-0/+248
Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Mon Jan 17 06:09:23 CET 2011 on sn-devel-104
2011-01-17ldb: added ldb_req_mark_trusted()Andrew Tridgell3-1/+14
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-17ldb: inherit parent flags on child requests in modulesMatthias Dieter Wallnöfer1-0/+11
2011-01-14ldb:ldb_dn.c - fix counter type in "ldb_dn_minimise"Matthias Dieter Wallnöfer1-1/+1
Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Fri Jan 14 10:43:29 CET 2011 on sn-devel-104
2011-01-14ldb: new ABI file for 0.9.23Andrew Tridgell1-0/+247
2011-01-14ldb: added ldb_dn_minimise()Andrew Tridgell2-0/+64
this removes any extraneous components from a DN. For an extended DN, this means removing the string DN and all but the first extended component. This is needed as AD returns "invalid syntax" if you don't use a minimal DN as the base DN for a search. A non-minimal DN also doesn't ever match in a search expression. Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-01-14ldb: added ldb_dn_get_extended_comp_num()Andrew Tridgell3-1/+10
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-14pyldb Simplify python wrappers for struct ldb_val (LdbValue)Andrew Bartlett1-17/+4
Andrew Bartlett
2011-01-12ldb:ltdb_sequence_number - initialise "tmp_ctx" to prevent uninitialisation ↵Matthias Dieter Wallnöfer1-1/+2
warning
2011-01-12ldb:ldbsearch.c - fix possible uninitialised variableMatthias Dieter Wallnöfer1-2/+2
And add a comparison for the "ret" result - this is more standard-oriented
2011-01-12ldb:ltdb_sequence_number - check for an OOM exceptionMatthias Dieter Wallnöfer1-0/+4
2011-01-12ldb:ldb_dn_explode - remove/unify some duplicate initialisationsMatthias Dieter Wallnöfer1-6/+2
2011-01-11ldb: link to the download directory on the websiteAndrew Tridgell1-16/+4
2011-01-08waf: ensure "make dist" works from a clean git tree for all librariesAndrew Tridgell1-2/+4
this uses a temporary waf lock file to force the build directory Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Sat Jan 8 02:35:22 CET 2011 on sn-devel-104
2011-01-03s4:ldb: Make sample module implementation static.Brad Hards1-2/+2
Signed-off-by: Stefan Metzmacher <metze@samba.org> Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Mon Jan 3 12:28:21 CET 2011 on sn-devel-104
2011-01-03s4:ldb: Add prototype header.Brad Hards1-0/+2
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-01-03pyldb: Fix memory reference error.Jelmer Vernooij2-2/+6
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Mon Jan 3 02:34:05 CET 2011 on sn-devel-104
2011-01-03pyldb: Always return -1, 0, or 1 in tp_compare functions.Jelmer Vernooij1-6/+9
2011-01-03Revert broken destructor changes.Jelmer Vernooij1-1/+1
2011-01-03pyldb: Fix memory context, add more OOM checks.Jelmer Vernooij2-7/+11
2011-01-03pyldb: Some more OOM checks.Jelmer Vernooij1-4/+28
2011-01-03Make all functions in pyldb.c private, as they can't be used anyway.Jelmer Vernooij2-26/+27
2011-01-03pyldb: Use pytalloc-util.Jelmer Vernooij2-1/+2
2011-01-03ldb: Remove duplicate definition of check_special, use PyObject_New.Jelmer Vernooij1-5/+4
2011-01-03s4-python: Properly call PyObject_Del from all destructors.Jelmer Vernooij1-1/+1
2011-01-01s4-python: Only set BASETYPE flag if subclassing is supported.Jelmer Vernooij1-4/+4
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sat Jan 1 03:39:58 CET 2011 on sn-devel-104
2011-01-01s4-python: Add more prototypes.Jelmer Vernooij1-0/+2
2011-01-01s4-python: Properly call PyObject_Del from all destructors.Jelmer Vernooij1-6/+6
2010-12-27s4:ldb: setup TEST_DATA_PREFIX for make testStefan Metzmacher1-1/+5
metze
2010-12-27s4:ldb:python/api: use filename() instead of hardcoded filenamesStefan Metzmacher1-6/+6
metze
2010-12-27s4:ldb/tests: there's no need to copy samba4.pngStefan Metzmacher2-4/+1
metze
2010-12-24s4:ldb:python/api: use only one ldb file in test_contains()Stefan Metzmacher1-2/+3
metze
2010-12-24s4:ldb:python/api: use filename() instead of hardcoded filenamesStefan Metzmacher1-6/+7
This makes sure we use files under $SELFTEST_PREFIX instead of the source directory. metze
2010-12-22ldb:pyldb.c - remove unused variableMatthias Dieter Wallnöfer1-1/+1
2010-12-21ldb: Add ldb.Message.add and ldb.Message.elements.Jelmer Vernooij2-36/+86
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Tue Dec 21 15:03:17 CET 2010 on sn-devel-104
2010-12-21ldb:tools/ldbdel.c - "replace.h" should be the first includeMatthias Dieter Wallnöfer1-1/+1
Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Tue Dec 21 12:50:54 CET 2010 on sn-devel-104
2010-12-19ldb: Bump version after renaming some public symbols which didn't have aJelmer Vernooij2-1/+246
ldb_ prefix.
2010-12-18lib/ldb Remove talloc_free() that causes double-free in callbacks.Andrew Bartlett1-1/+3
This partially reverts 0941099a, which was a little over-eager in fixing what were presumed to be memory leaks. It is always the callbacks responsiblity to free the ares, but if they don't then the end of the request should handle the cleanup. Attempting to talloc_free() here will result (as it did in the descriptor module) in a double-free error if the callback does free it, and no other caller of ldb_module_send_entry() has this behaviour. Andrew Bartlett
2010-12-18ldb: Rename controls_except_specified -> ldb_controls_except_specified.Jelmer Vernooij2-2/+2
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sat Dec 18 01:33:24 CET 2010 on sn-devel-104
2010-12-18ldb_map: Fix prefix for map functions.Jelmer Vernooij3-15/+15
2010-12-18ldb: Add prototype for ldb_init_module.Jelmer Vernooij1-0/+5
2010-12-18ldb: Rename two exported functions so they match abi_match.Jelmer Vernooij6-9/+8
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-12ldb:pyldb.h - revert to the previous header behaviourMatthias Dieter Wallnöfer3-2/+4
"ldb_private.h" is private and therefore might not always be available.