summaryrefslogtreecommitdiff
path: root/source4/lib/ldb
AgeCommit message (Collapse)AuthorFilesLines
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: add ABI/ldb-0.9.20.sigsStefan Metzmacher1-0/+245
metze
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-12-08s4-acl: Fixed incorrect value of LDB_FLAG_INTERNAL_INACCESSIBLE_ATTRIBUTENadezhda Ivanova1-1/+1
Autobuild-User: Nadezhda Ivanova <nivanova@samba.org> Autobuild-Date: Wed Dec 8 13:31:48 CET 2010 on sn-devel-104
2010-12-08s4-pkgconfig: add @LIB_RPATH@ to our link flagsAndrew Tridgell1-1/+1
this is only set when rpath is used on install. It ensures that applications that link against Samba libraries get the rpath right Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Wed Dec 8 12:46:00 CET 2010 on sn-devel-104
2010-12-08s4-ldb: added @LIB_RPATH@ to the ldb pc fileAndrew Tridgell1-1/+1
2010-12-08s4-acl: Added a flag to mark an element as failing an access check.Nadezhda Ivanova1-0/+3
2010-12-08s4-ldb: use RTLD_DEEPBIND if available for ldb modulesAndrew Tridgell1-1/+13
this allows us to avoid issues with ldb using heimdal while an application using ldb using MIT kerberos Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-12-06s4:fix some shadowed declaration warnings on Solaris by renaming the symbolsMatthias Dieter Wallnöfer2-3/+3
2010-12-02s4/ldb: fix shell syntax error in test scriptBjörn Jacke1-2/+2
2010-12-01ldb:ldb_msg_add_value - fix here a wrong memory contextMatthias Dieter Wallnöfer1-1/+2
A value array allocation should belong to "msg->elements" not "msg" directly
2010-11-26ldb-tdb: Add more information about full scanMatthieu Patou1-1/+7
2010-11-23pyldb: Fix broken test.Jelmer Vernooij2-1/+2
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Tue Nov 23 23:20:38 CET 2010 on sn-devel-104
2010-11-23s4-ldb: added an environment varibale LDB_WARN_UNINDEXEDAndrew Tridgell6-10/+16
when LDB_WARN_UNINDEXED is set, we produce warnings about unindexed searches. This makes it easier to find performance problems caused by unindexed searches.
2010-11-22Avoid the use of PyAPI_DATA, which is for internal Python API's.Arnaud Faucher1-6/+6
Signed-off-by: Jelmer Vernooij <jelmer@samba.org> Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Mon Nov 22 00:52:56 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-20ldb:rdn_name LDB module - add more RDN name constraintsMatthias Dieter Wallnöfer1-5/+17
And some small cleanups Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Sat Nov 20 00:06:35 CET 2010 on sn-devel-104
2010-11-19ldb:ldb_rename on ldap backends - handle the case when the RDN value is emptyMatthias Dieter Wallnöfer1-1/+1
Otherwise we get "<RDN name>=(null),..."
2010-11-18s4-ldb.python: Use $SELFTEST_PREFIX/tmp as a temporary directory for testingKamen Mazdrashki1-1/+6
This way we won't flood /tmp directory with temp files Autobuild-User: Kamen Mazdrashki <kamenim@samba.org> Autobuild-Date: Thu Nov 18 23:11:18 CET 2010 on sn-devel-104
2010-11-18s4-ldb.python: add test for ldb.Message.from_dict() methodKamen Mazdrashki1-0/+17
2010-11-18s4-pyldb: ldb.Message.from_dict class method to create LdbMessage object ↵Kamen Mazdrashki1-0/+44
from dictionary
2010-11-18s4-pyldb: Move code to create a ldb_message from a Python Dictionary object ↵Kamen Mazdrashki1-46/+73
into a separate function
2010-11-18s4-pyldb_util: Move ldb Type searching into separate functionKamen Mazdrashki1-18/+28
2010-11-18s4-pyldb: Few miss-alignments alignedKamen Mazdrashki1-9/+8
2010-11-18s4-pyldb: Move PyLdbMessage_FromMessage() in PyMessage group of functionsKamen Mazdrashki1-1/+1
2010-11-18s4-pyldb: Fix wrong type of 'self' parameterKamen Mazdrashki1-1/+1
2010-11-18Revert "s4:api.py - DN tests - test a bit more special DNs and merge the ↵Matthias Dieter Wallnöfer1-44/+1
comparison tests" This reverts commit 732ef9353dff56384e8bb01aa20d2a371cd995c2. Jelmer doesn't like to have these tests there. Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Thu Nov 18 17:46:38 UTC 2010 on sn-devel-104
2010-11-18ldb: error out when modules are not foundSimo Sorce1-1/+1
We shouldn't proceed without all required modules, it could cause damage to the ldb if operations are performed w/o the needed modules. Autobuild-User: Simo Sorce <idra@samba.org> Autobuild-Date: Thu Nov 18 14:02:34 UTC 2010 on sn-devel-104
2010-11-18ldb:skel.c - don't introduce trailing whitespaces by a module templateMatthias Dieter Wallnöfer1-2/+2
Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Thu Nov 18 12:08:30 UTC 2010 on sn-devel-104
2010-11-18s4:api.py - DN tests - test a bit more special DNs and merge the comparison ↵Matthias Dieter Wallnöfer1-11/+47
tests
2010-11-18ldb:ldb_dn_explode - point out that on error cases "data" is implicitly free'dMatthias Dieter Wallnöfer1-1/+1
2010-11-17ldb:ldb_dn.c - ldb_dn_explode - free also the extended components on error casesMatthias Dieter Wallnöfer1-1/+4
Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Wed Nov 17 08:45:53 UTC 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-11ldb:ldb_ldap.c rename operation - check for the RDN name and valueMatthias Dieter Wallnöfer1-3/+11
Make it more similar to "ldb_ildap.c" and also more save
2010-11-11s4:dsdb - proof against empty RDN values where expectedMatthias Dieter Wallnöfer1-3/+12
This should prevent crashes as pointed out on the mailing list.
2010-11-10s4-pyldb: Handle internal errors in py_ldb_contains() properlyKamen Mazdrashki1-4/+9
It is an exceptional condition for ldb_search() to return more than one results during SCOPE_BASE search on DN Autobuild-User: Kamen Mazdrashki <kamenim@samba.org> Autobuild-Date: Wed Nov 10 09:02:00 UTC 2010 on sn-devel-104
2010-11-08s4:pyldb.c - fix "py_ldb_contains" according to the comment by JelmerMatthias Dieter Wallnöfer1-4/+2
2010-11-08ldb:pyldb.c - "py_ldb_msg_element_get" - here we can safely use "unsigned ↵Matthias Dieter Wallnöfer1-3/+3
int" for the element reference We don't make use of "Py_List*" calls Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Mon Nov 8 11:21:27 UTC 2010 on sn-devel-104
2010-11-08ldb:pyldb.c - "py_ldb_contains" - return only "0" not found, "1" found, "-1" ↵Matthias Dieter Wallnöfer1-3/+10
error
2010-11-08ldb:pyldb.c - most of the times "time_t" is defined as "long int"Matthias Dieter Wallnöfer1-5/+5
Therefore use a signed long int for conversions. http://stackoverflow.com/questions/471248/what-is-ultimately-a-time-t-typedef-to
2010-11-08ldb:pyldb.c - fix some "Py_ssize_t" output warningsMatthias Dieter Wallnöfer1-3/+2
2010-11-08ldb:pyldb.c - use "Py_ssize_t" for counting list entriesMatthias Dieter Wallnöfer1-12/+11
This seems to be the most appopriate type
2010-11-08ldb:pyldb.c - fix indentationMatthias Dieter Wallnöfer1-2/+3
2010-11-08s4-ldb: don't give an error if a module is already registeredAndrew Tridgell1-0/+7
this can happen when both the build and install paths are used to load ldb modules Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Mon Nov 8 05:28:14 UTC 2010 on sn-devel-104
2010-11-08s4-ldb: better error message when we try to register a module twiceAndrew Tridgell1-2/+3
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-11-07ldb:ldb_pack.c - the "dn" attribute isn't allowed in the message part, only ↵Matthias Dieter Wallnöfer1-2/+0
the "distinguishedName" one Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Sun Nov 7 10:11:02 UTC 2010 on sn-devel-104
2010-11-06ldb:ldb_parse.c - "ldb_parse_hex2char" - always initialise "c"Matthias Dieter Wallnöfer1-1/+1
Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Sat Nov 6 21:04:58 UTC 2010 on sn-devel-104