Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2010-11-26 | ldb-tdb: Add more information about full scan | Matthieu Patou | 1 | -1/+7 | |
2010-11-23 | pyldb: Fix broken test. | Jelmer Vernooij | 2 | -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-23 | s4-ldb: added an environment varibale LDB_WARN_UNINDEXED | Andrew Tridgell | 6 | -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-22 | Avoid the use of PyAPI_DATA, which is for internal Python API's. | Arnaud Faucher | 1 | -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-21 | s4-ldb: fixed the build with a space in the ldb modules directory name | Andrew Tridgell | 1 | -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-20 | ldb:rdn_name LDB module - add more RDN name constraints | Matthias Dieter Wallnöfer | 1 | -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-19 | ldb:ldb_rename on ldap backends - handle the case when the RDN value is empty | Matthias Dieter Wallnöfer | 1 | -1/+1 | |
Otherwise we get "<RDN name>=(null),..." | |||||
2010-11-18 | s4-ldb.python: Use $SELFTEST_PREFIX/tmp as a temporary directory for testing | Kamen Mazdrashki | 1 | -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-18 | s4-ldb.python: add test for ldb.Message.from_dict() method | Kamen Mazdrashki | 1 | -0/+17 | |
2010-11-18 | s4-pyldb: ldb.Message.from_dict class method to create LdbMessage object ↵ | Kamen Mazdrashki | 1 | -0/+44 | |
from dictionary | |||||
2010-11-18 | s4-pyldb: Move code to create a ldb_message from a Python Dictionary object ↵ | Kamen Mazdrashki | 1 | -46/+73 | |
into a separate function | |||||
2010-11-18 | s4-pyldb_util: Move ldb Type searching into separate function | Kamen Mazdrashki | 1 | -18/+28 | |
2010-11-18 | s4-pyldb: Few miss-alignments aligned | Kamen Mazdrashki | 1 | -9/+8 | |
2010-11-18 | s4-pyldb: Move PyLdbMessage_FromMessage() in PyMessage group of functions | Kamen Mazdrashki | 1 | -1/+1 | |
2010-11-18 | s4-pyldb: Fix wrong type of 'self' parameter | Kamen Mazdrashki | 1 | -1/+1 | |
2010-11-18 | Revert "s4:api.py - DN tests - test a bit more special DNs and merge the ↵ | Matthias Dieter Wallnöfer | 1 | -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-18 | ldb: error out when modules are not found | Simo Sorce | 1 | -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-18 | ldb:skel.c - don't introduce trailing whitespaces by a module template | Matthias Dieter Wallnöfer | 1 | -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-18 | s4:api.py - DN tests - test a bit more special DNs and merge the comparison ↵ | Matthias Dieter Wallnöfer | 1 | -11/+47 | |
tests | |||||
2010-11-18 | ldb:ldb_dn_explode - point out that on error cases "data" is implicitly free'd | Matthias Dieter Wallnöfer | 1 | -1/+1 | |
2010-11-17 | ldb:ldb_dn.c - ldb_dn_explode - free also the extended components on error cases | Matthias Dieter Wallnöfer | 1 | -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-14 | Re-enable ldb-cmdline for the moment, as it is used by oLschema2ldif. | Jelmer Vernooij | 1 | -5/+5 | |
2010-11-14 | Don't build ldb tools when there is a system provided ldb. | Jelmer Vernooij | 1 | -13/+13 | |
2010-11-11 | ldb:ldb_ldap.c rename operation - check for the RDN name and value | Matthias Dieter Wallnöfer | 1 | -3/+11 | |
Make it more similar to "ldb_ildap.c" and also more save | |||||
2010-11-11 | s4:dsdb - proof against empty RDN values where expected | Matthias Dieter Wallnöfer | 1 | -3/+12 | |
This should prevent crashes as pointed out on the mailing list. | |||||
2010-11-10 | s4-pyldb: Handle internal errors in py_ldb_contains() properly | Kamen Mazdrashki | 1 | -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-08 | s4:pyldb.c - fix "py_ldb_contains" according to the comment by Jelmer | Matthias Dieter Wallnöfer | 1 | -4/+2 | |
2010-11-08 | ldb:pyldb.c - "py_ldb_msg_element_get" - here we can safely use "unsigned ↵ | Matthias Dieter Wallnöfer | 1 | -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-08 | ldb:pyldb.c - "py_ldb_contains" - return only "0" not found, "1" found, "-1" ↵ | Matthias Dieter Wallnöfer | 1 | -3/+10 | |
error | |||||
2010-11-08 | ldb:pyldb.c - most of the times "time_t" is defined as "long int" | Matthias Dieter Wallnöfer | 1 | -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-08 | ldb:pyldb.c - fix some "Py_ssize_t" output warnings | Matthias Dieter Wallnöfer | 1 | -3/+2 | |
2010-11-08 | ldb:pyldb.c - use "Py_ssize_t" for counting list entries | Matthias Dieter Wallnöfer | 1 | -12/+11 | |
This seems to be the most appopriate type | |||||
2010-11-08 | ldb:pyldb.c - fix indentation | Matthias Dieter Wallnöfer | 1 | -2/+3 | |
2010-11-08 | s4-ldb: don't give an error if a module is already registered | Andrew Tridgell | 1 | -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-08 | s4-ldb: better error message when we try to register a module twice | Andrew Tridgell | 1 | -2/+3 | |
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> | |||||
2010-11-07 | ldb:ldb_pack.c - the "dn" attribute isn't allowed in the message part, only ↵ | Matthias Dieter Wallnöfer | 1 | -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-06 | ldb:ldb_parse.c - "ldb_parse_hex2char" - always initialise "c" | Matthias Dieter Wallnöfer | 1 | -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 | |||||
2010-11-06 | ldb:ldb_tdb.c - ltdb_check_special_dn - fix indentation | Matthias Dieter Wallnöfer | 1 | -1/+1 | |
2010-11-06 | ldb:ldb_tdb.c - make "ltdb_add" more similar to "ltdb_modify" | Matthias Dieter Wallnöfer | 1 | -9/+5 | |
And remove in "ltdb_add_internal" a cache loading call which has been present twice. | |||||
2010-11-05 | s4-ldb: much more memory efficient msg filtering | Andrew Tridgell | 1 | -3/+20 | |
this ensures we don't leave unnecessary attributes in returned ldb objects Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> | |||||
2010-11-05 | s4-ldb: show the reason for module initialization failure | Andrew Tridgell | 1 | -1/+2 | |
2010-11-05 | ldb:ldb.h - reorder extended operations list | Matthias Dieter Wallnöfer | 1 | -4/+10 | |
We always define the controls and operations with a comment block. The data structure definitions lie a bit below. Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Fri Nov 5 08:44:14 UTC 2010 on sn-devel-104 | |||||
2010-11-04 | s4-ldb_module.h: use LDB error code for ldb_error() macro rather than ↵ | Kamen Mazdrashki | 1 | -1/+1 | |
LDB_DEBUG_FATAL We end up calling ldb_error_at() which expects an LDB error, but LDB_DEBUG_FATAL is not such code. It is actually equal to LDB_SUCCESS. Thus the effect is that we report a *fatal* error, but return LDB_SUCCESS in many places. Autobuild-User: Kamen Mazdrashki <kamenim@samba.org> Autobuild-Date: Thu Nov 4 12:57:33 UTC 2010 on sn-devel-104 | |||||
2010-11-04 | s4-ldb: implement LDB_FLAG_INTERNAL_DISABLE_SINGLE_VALUE_CHECK | Andrew Tridgell | 2 | -13/+12 | |
this disables the single value checking for one attribute. It is much more specific than a general RELAX control, and also more efficient. I think we should try to have more precise overrides like this, rather than using RELAX as a general purpose override | |||||
2010-11-04 | s4-ldb: don't load modules from the same directory twice | Andrew Tridgell | 1 | -4/+4 | |
this prevents samba dying if you do a 'make install' while it is running. Otherwise the make install changes the inode numbers of the modules in the modules directory, causing them to reload, which causes multiple modules of the same name to try and load | |||||
2010-11-04 | s4-ldb: honor controls on search in ldbedit | Andrew Tridgell | 3 | -1/+81 | |
2010-11-04 | Move the checking of single valued attributes back into the tdb backend. | Andrew Tridgell | 1 | -0/+44 | |
The backend is the only place that can do this properly. It makes no sense to do it anywhere else. As a result of it moving out of the backend we ended up with some bugs causing multiple values in single valued attributes (eg. isDeleted), which can really damage the inregrity of the database. For the override of single valued values needed for deleted linked attributes we should use attribute flags. This reverts commit 1949864417f3d10fb8996df7db259649eb777271. | |||||
2010-11-03 | build: a more portable way of finding waf in makefiles | Andrew Tridgell | 1 | -3/+1 | |
this avoids using the non-portable shell command in makefiles Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Wed Nov 3 22:44:59 UTC 2010 on sn-devel-104 | |||||
2010-11-03 | s4-ldb: fixed sorting of module names | Andrew Tridgell | 1 | -1/+6 | |
this should also fix a valgrind error on freebsd thanks to Matthieu for spotting this | |||||
2010-11-03 | s4-ldb: make ldbtest depend on ldb | Andrew Tridgell | 1 | -1/+1 | |