Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2011-06-09 | ldb:ldb_msg.c - move away from "errno" | Matthias Dieter Wallnöfer | 1 | -3/+0 | |
Reviewed-by: Tridge | |||||
2011-05-21 | ldb:pyldb.c - all flags should be unsigned | Matthias Dieter Wallnöfer | 1 | -10/+10 | |
Adapt it to the previous commits Reviewed-by: Jelmer + Metze | |||||
2011-05-21 | ldb:ldb_sqlite3.c - all LDB flags should be handled as "unsigned" | Matthias Dieter Wallnöfer | 1 | -2/+3 | |
Signed-off-by: Metze | |||||
2011-05-21 | ldb:tools/cmdline.c + tools/ldbtest.c - the connection flags are typed as ↵ | Matthias Dieter Wallnöfer | 2 | -2/+2 | |
"unsigned" Signed-off-by: Metze | |||||
2011-05-21 | ldb:ldbtest.c - make more use of LDB constants | Matthias Dieter Wallnöfer | 1 | -4/+4 | |
Signed-off-by: Metze | |||||
2011-04-29 | ldb:tdb backend - cache - remove unused "last_attribute" structure member | Matthias Dieter Wallnöfer | 2 | -8/+0 | |
Reviewed-by: abartlet Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Fri Apr 29 20:07:27 CEST 2011 on sn-devel-104 | |||||
2011-04-29 | ldb:tools/cmdline.c + tools/ldbtest.c - make use of LDB result constants | Matthias Dieter Wallnöfer | 2 | -2/+2 | |
Reviewed-by: abartlet | |||||
2011-04-29 | ldb:ldb_controls.c - fix comment indentation | Matthias Dieter Wallnöfer | 1 | -4/+4 | |
Reviewed-by: abartlet | |||||
2011-04-23 | Support the 'PYTHON' environment variable. | Jelmer Vernooij | 1 | -0/+6 | |
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sat Apr 23 04:19:05 CEST 2011 on sn-devel-104 | |||||
2011-04-21 | s4:ldb: change version to 1.1.0 after adding new functions: | Stefan Metzmacher | 2 | -1/+254 | |
ldb_ldif_parse_modrdn() ldb_req_set_custom_flags() ldb_req_get_custom_flags() Signed-off-by: Simo Sorce <idra@samba.org> metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Thu Apr 21 17:15:16 CEST 2011 on sn-devel-104 | |||||
2011-04-21 | ldb: add custom flags and functions for the application that wants to ↵ | Matthieu Patou | 3 | -0/+54 | |
manipulate them Signed-off-by: Simo Sorce <idra@samba.org> Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2011-04-21 | s4:ldb/tests: add tests for ldbmodify and 'modrdn' | Stefan Metzmacher | 2 | -1/+16 | |
Signed-off-by: Simo Sorce <idra@samba.org> metze | |||||
2011-04-21 | s4:ldb/tools: add support for "modrdn" to ldbmodify | Stefan Metzmacher | 1 | -1/+23 | |
Signed-off-by: Simo Sorce <idra@samba.org> metze | |||||
2011-04-21 | s4:ldb/ldif: add support for "modrdn" | Stefan Metzmacher | 2 | -1/+226 | |
This add a ldb_ldif_parse_modrdn() helper function to parse the information out of a ldb_message structure. Signed-off-by: Simo Sorce <idra@samba.org> metze | |||||
2011-04-08 | ldb:ldb/common/ldb_modules.c - change the request counter type to be "unsigned" | Matthias Dieter Wallnöfer | 1 | -1/+1 | |
Just for consistency since all other LDB counters are unsigned as well. And also the debug output specifier has been chosen to be "%u" - so it really should be unsigned. Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Fri Apr 8 09:17:47 CEST 2011 on sn-devel-104 | |||||
2011-04-08 | ldb:ldb/common/ldb_modules.c - trivial - fix integer output specifiers | Matthias Dieter Wallnöfer | 1 | -2/+2 | |
2011-04-07 | ldb:ldb_msg.c - make "ldb_msg_find_attr_as_*" more robust against invalid values | Matthias Dieter Wallnöfer | 1 | -19/+106 | |
- Integer handling was modeled after validate code from "schema_syntax.c". - Double handling was modeled similar, but with a dynamic buffer. I don't know if there is a maximum literal length for double values but an allocation shouldn't a problem here since doubles are rare. - String handlind is enhanced with a terminating "0" test for safety. Reviewed-by: abartlet + metze Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Thu Apr 7 16:38:57 CEST 2011 on sn-devel-104 | |||||
2011-04-07 | ldb:ldb_msg_check_sanity - clean it up from unneeded stuff | Matthias Dieter Wallnöfer | 1 | -4/+0 | |
2011-04-07 | ldb:ldbadd/modify tool - return error code when at least one operation has ↵ | Matthias Dieter Wallnöfer | 2 | -5/+8 | |
failed This is required to better detect failures and should raise the compatiblity to "ldapadd"/"ldapmodify". Reviewed-by: abartlet | |||||
2011-04-07 | ldb:tests - "init.ldif" - deactivate empty "seeAlso" attribute | Matthias Dieter Wallnöfer | 1 | -1/+2 | |
2011-04-07 | ldb:ldb/common/ldb_modules.c - always use LDB error codes if possible | Matthias Dieter Wallnöfer | 1 | -6/+7 | |
The callers do compare against LDB error codes - hence don't give back "-1". Reviewed-by: Tridge + abartlet | |||||
2011-04-07 | ldb:common/*.c - check for some OOM conditions | Matthias Dieter Wallnöfer | 2 | -0/+7 | |
Reviewed-by: abartlet | |||||
2011-04-07 | ldb: fixed --paged option in ldb tools | Andrew Tridgell | 1 | -1/+1 | |
we were sometimes using 'paged_result' and sometimes using 'paged_results'. The latter seemed to be more common, so I changed the two places that used the 'paged_result' string to 'paged_results' | |||||
2011-03-29 | ldb: detect eof on ldif files | Andrew Tridgell | 2 | -0/+20 | |
use feof() to detect parsing errors in ldif files Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Tue Mar 29 08:24:04 CEST 2011 on sn-devel-104 | |||||
2011-03-20 | pyldb: minor fixup, fix a memory leak | Matthieu Patou | 1 | -2/+3 | |
Autobuild-User: Matthieu Patou <mat@samba.org> Autobuild-Date: Sun Mar 20 12:13:50 CET 2011 on sn-devel-104 | |||||
2011-03-20 | ldb:fix control parsing for dirsync | Matthieu Patou | 1 | -2/+3 | |
2011-03-16 | s4:ldb: don't install .pc files when building a private library | Stefan Metzmacher | 1 | -2/+6 | |
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Wed Mar 16 09:58:22 CET 2011 on sn-devel-104 | |||||
2011-03-15 | ldb: only install headers if we are not building as a private lib | Andrew Tridgell | 1 | -1/+4 | |
2011-03-15 | ldb: use include <> form for public headers | Andrew Tridgell | 2 | -3/+3 | |
2011-03-10 | ldb:ldb_controls.c - "ldb_save_controls" - allow that "saver" can also be NULL | Matthias Dieter Wallnöfer | 1 | -8/+12 | |
Suggested by Tridge | |||||
2011-03-10 | ldb:ldb_controls.c - always allocate enough space | Matthias Dieter Wallnöfer | 1 | -13/+27 | |
The size for an additional "struct ldb_control" shouldn't hurt and so the excluded control can also be NULL. Added an ending "talloc_realloc" to resize the chunk to the effective needed size (requested by tridge). | |||||
2011-03-04 | ldb:ldb_msg.c - use LDB result constants for checking return values | Matthias Dieter Wallnöfer | 1 | -2/+5 | |
Reviewed by: Tridge Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Fri Mar 4 22:51:57 CET 2011 on sn-devel-104 | |||||
2011-03-04 | ldb:rdn_name LDB module - more RDN constraint checks (from AD) | Matthias Dieter Wallnöfer | 1 | -1/+40 | |
Reviewed by: Tridge | |||||
2011-03-04 | s4/ldb - remove now superflous "ldb_dn_validate" checks | Matthias Dieter Wallnöfer | 4 | -12/+8 | |
If we immediately afterwards perform an LDB base operation then we don't need an explicit "ldb_dn_validate" check anymore (only OOM makes sense). Reviewed by: Tridge | |||||
2011-03-04 | s4:dsdb - we don't need to check if a DN != NULL if we call "ldb_dn_validate" | Matthias Dieter Wallnöfer | 1 | -2/+1 | |
"ldb_dn_validate" is NULL-safe and does the check implicitly. Reviewed by: Tridge | |||||
2011-03-04 | ldb:ldb_request - handle here the DN checks | Matthias Dieter Wallnöfer | 1 | -1/+22 | |
This is a much better solution than we had before - so all important DN checks are enforced for each type of LDB database (and not limited to DSDB). Many "ldb_dn_validate" checks will now become obsolete. Reviewed by: Tridge | |||||
2011-03-04 | ldb:ldb tools - remove a superflous "return" (usage internally calls "exit") | Matthias Dieter Wallnöfer | 1 | -1/+0 | |
Reviewed by: Tridge Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Fri Mar 4 09:39:22 CET 2011 on sn-devel-104 | |||||
2011-03-04 | ldb:ldb tools - return LDB_ERR_INVALID_DN_SYNTAX on wrong DN parameters | Matthias Dieter Wallnöfer | 5 | -5/+9 | |
Not all LDB databases have further DN checks. Reviewed by: Tridge | |||||
2011-03-04 | ldb:ldb tools - ldbtest - convert other result values to LDB codes as well | Matthias Dieter Wallnöfer | 1 | -15/+15 | |
I've forgotten this in my first patchset. Reviewed by: Tridge | |||||
2011-02-22 | python: use os.environ[] instead of os.putenv() | Andrew Tridgell | 1 | -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-21 | pyldb: Add tests for the ldb_result object | Matthieu Patou | 1 | -0/+87 | |
2011-02-21 | pyldb: create LdbResult, return value from ldb.search is now a LdbResult | Matthieu Patou | 2 | -5/+332 | |
2011-02-21 | ldb: controls marshalling/unmarshalling improvement | Matthieu Patou | 4 | -623/+930 | |
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-14 | Increase minor version since a public header has changed | Simo Sorce | 2 | -1/+249 | |
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-14 | s4-ldb: fixed a uninitialised el->flags in ldb_tdb | Andrew Tridgell | 1 | -2/+1 | |
this caused an intermittent failure in some tests Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> | |||||
2011-02-14 | s4-ldb: added LDB_FLAG_INTERNAL_FORCE_SINGLE_VALUE_CHECK | Andrew Tridgell | 2 | -0/+11 | |
this allows a ldb module to force an element as single valued | |||||
2011-02-14 | s4-ldb: use a helper function for single valued checking | Andrew Tridgell | 1 | -25/+35 | |
this gives us a single piece of logic for single value checking in the tdb backend Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> | |||||
2011-02-14 | ldb-web: update mailing list info | Andrew Tridgell | 1 | -5/+5 | |
2011-02-13 | pyldb: fix a bug in the unit test which prevented ldb.python to run all the ↵ | Matthieu Patou | 1 | -0/+3 | |
tests in the testsuite Autobuild-User: Matthieu Patou <mat@samba.org> Autobuild-Date: Sun Feb 13 00:14:24 CET 2011 on sn-devel-104 | |||||
2011-02-13 | ldb: use the sizeof of the control variable as offset instead of hardcoded ↵ | Matthieu Patou | 1 | -22/+21 | |
values, helps to avoid bugs |