Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | ldb: make ldb a top level library for Samba 4.0 | Andrew Bartlett | 2011-07-05 | 11 | -2442/+0 |
| | | | | Signed-off-by: Andrew Tridgell <tridge@samba.org> | ||||
* | ldb:tools/cmdline.c + tools/ldbtest.c - the connection flags are typed as ↵ | Matthias Dieter Wallnöfer | 2011-05-21 | 2 | -2/+2 |
| | | | | | | "unsigned" Signed-off-by: Metze | ||||
* | ldb:ldbtest.c - make more use of LDB constants | Matthias Dieter Wallnöfer | 2011-05-21 | 1 | -4/+4 |
| | | | | Signed-off-by: Metze | ||||
* | ldb:tools/cmdline.c + tools/ldbtest.c - make use of LDB result constants | Matthias Dieter Wallnöfer | 2011-04-29 | 2 | -2/+2 |
| | | | | Reviewed-by: abartlet | ||||
* | s4:ldb/tools: add support for "modrdn" to ldbmodify | Stefan Metzmacher | 2011-04-21 | 1 | -1/+23 |
| | | | | | | Signed-off-by: Simo Sorce <idra@samba.org> metze | ||||
* | ldb:ldbadd/modify tool - return error code when at least one operation has ↵ | Matthias Dieter Wallnöfer | 2011-04-07 | 2 | -5/+8 |
| | | | | | | | | | failed This is required to better detect failures and should raise the compatiblity to "ldapadd"/"ldapmodify". Reviewed-by: abartlet | ||||
* | ldb: detect eof on ldif files | Andrew Tridgell | 2011-03-29 | 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 | ||||
* | s4/ldb - remove now superflous "ldb_dn_validate" checks | Matthias Dieter Wallnöfer | 2011-03-04 | 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 | ||||
* | ldb:ldb tools - remove a superflous "return" (usage internally calls "exit") | Matthias Dieter Wallnöfer | 2011-03-04 | 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 | ||||
* | ldb:ldb tools - return LDB_ERR_INVALID_DN_SYNTAX on wrong DN parameters | Matthias Dieter Wallnöfer | 2011-03-04 | 5 | -5/+9 |
| | | | | | | Not all LDB databases have further DN checks. Reviewed by: Tridge | ||||
* | ldb:ldb tools - ldbtest - convert other result values to LDB codes as well | Matthias Dieter Wallnöfer | 2011-03-04 | 1 | -15/+15 |
| | | | | | | I've forgotten this in my first patchset. Reviewed by: Tridge | ||||
* | ldb:tools - return LDB_ERR_OPERATIONS_ERROR on generic errors | Matthias Dieter Wallnöfer | 2011-02-09 | 8 | -19/+20 |
| | | | | | | | | Use "return" when located in "main" for consistency ("exit" would do the same). The patchset has been discussed with Jelmer Vernooij and afterwards LDB maintainer Simo Sorce. | ||||
* | ldb:tools - always check if ldb connection has been estabilished | Matthias Dieter Wallnöfer | 2011-02-09 | 7 | -1/+19 |
| | | | | Otherwise return "LDB_ERR_OPERATIONS_ERROR". | ||||
* | ldb:ldbsearch tool - use LDB result constants where possible | Matthias Dieter Wallnöfer | 2011-02-09 | 1 | -7/+7 |
| | |||||
* | ldb:ldbsearch tool - simplify error code return | Matthias Dieter Wallnöfer | 2011-02-09 | 1 | -3/+1 |
| | |||||
* | ldb:ldbsearch tool - use "%u" for printing unsigned integers | Matthias Dieter Wallnöfer | 2011-02-09 | 1 | -1/+1 |
| | |||||
* | ldb:ldbedit tool - don't forget about the "do_edit" result code | Matthias Dieter Wallnöfer | 2011-02-09 | 1 | -11/+4 |
| | | | | | | Use it for computing the program exit code. The "result" has not to be free'd explicitly since it's a child by "ldb" which itself is child by "mem_ctx". | ||||
* | ldb:ldbedit tool - fix bug #7914 | Matthias Dieter Wallnöfer | 2011-02-09 | 1 | -4/+7 |
| | | | | | | | "modify_record" returns "-1" when failing, otherwise the number of modifies performed as an "unsigned int" converted to "int". When we get "-1" we immediately need to stop (the error message has already been generated by the function itself). | ||||
* | ldb:ldbedit tool - use unsigned counters for consistency with other LDB tools | Matthias Dieter Wallnöfer | 2011-02-09 | 1 | -2/+2 |
| | |||||
* | ldb:ldbedit tool - use "%u" for printing out unsigned integers | Matthias Dieter Wallnöfer | 2011-02-09 | 1 | -2/+2 |
| | |||||
* | ldb:ldbedit tool - use LDB result constants where needed | Matthias Dieter Wallnöfer | 2011-02-09 | 1 | -5/+5 |
| | |||||
* | ldb:ldbrename tool - use LDB result constant where needed | Matthias Dieter Wallnöfer | 2011-02-09 | 1 | -1/+1 |
| | |||||
* | ldb:ldbmodify tool - use unsigned counters for consistency with other LDB tools | Matthias Dieter Wallnöfer | 2011-02-09 | 1 | -5/+5 |
| | |||||
* | ldb:ldbdel tool - use LDB result constants for consistency | Matthias Dieter Wallnöfer | 2011-02-09 | 1 | -7/+7 |
| | |||||
* | ldb:ldbadd tool - use LDB return codes where possible | Matthias Dieter Wallnöfer | 2011-02-09 | 1 | -4/+6 |
| | |||||
* | ldb:ldbadd tool - use "%u" for printing out unsigned integers | Matthias Dieter Wallnöfer | 2011-02-09 | 1 | -1/+1 |
| | |||||
* | ldb:ldbadd tool - use LDB result constants for consistency | Matthias Dieter Wallnöfer | 2011-02-09 | 1 | -4/+4 |
| | |||||
* | ldb:ldbsearch.c - fix possible uninitialised variable | Matthias Dieter Wallnöfer | 2011-01-12 | 1 | -2/+2 |
| | | | | And add a comparison for the "ret" result - this is more standard-oriented | ||||
* | s4:ldb: Add prototype header. | Brad Hards | 2011-01-03 | 1 | -0/+2 |
| | | | | Signed-off-by: Stefan Metzmacher <metze@samba.org> | ||||
* | ldb:tools/ldbdel.c - "replace.h" should be the first include | Matthias Dieter Wallnöfer | 2010-12-21 | 1 | -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 | ||||
* | s4-ldb: honor controls on search in ldbedit | Andrew Tridgell | 2010-11-04 | 3 | -1/+81 |
| | |||||
* | s4-ldb: expose some more ldb module functions | Andrew Tridgell | 2010-11-03 | 1 | -4/+6 |
| | | | | | this exposes enough functions for s4 to not need ldb_private.h any more. | ||||
* | s4-ldb: removed ldb_includes.h | Andrew Tridgell | 2010-11-01 | 4 | -4/+12 |
| | | | | | | | 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 | ||||
* | ldb:tools/ldbtest.c - fix build warning | Matthias Dieter Wallnöfer | 2010-11-01 | 2 | -2/+3 |
| | | | | Cause was an incomplete declaration. | ||||
* | s4-ldb: convert existing ldb tools to use new command line hooks | Andrew Tridgell | 2010-11-01 | 7 | -31/+15 |
| | | | | | | | the usage() function needs to take a ldb context, as the popt_options is specific to the ldb context Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> | ||||
* | s4-ldb: added ldb command line hook support | Andrew Tridgell | 2010-11-01 | 2 | -58/+31 |
| | | | | | | | ldb modules can now add hooks to the command line processing for ldb tools Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> | ||||
* | s4-test: we don't need to set LDB_MODULES_PATH any more | Andrew Tridgell | 2010-11-01 | 1 | -2/+0 |
| | |||||
* | s4: Remove the old perl/m4/make/mk-based build system. | Jelmer Vernooij | 2010-10-31 | 1 | -103/+0 |
| | | | | | | | | The new waf-based build system now has all the same functionality, and the old build system has been broken for quite some time. Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sun Oct 31 02:01:44 UTC 2010 on sn-devel-104 | ||||
* | s4-ldb: added --relax cmdline option | Andrew Tridgell | 2010-10-19 | 1 | -0/+9 |
| | | | | this adds the relax control | ||||
* | ldb:tools/cmdline.c - reorganise imports | Matthias Dieter Wallnöfer | 2010-09-11 | 1 | -6/+2 |
| | |||||
* | ldb:tools/cmdline.c - make a counter unsigned where appropriate | Matthias Dieter Wallnöfer | 2010-09-11 | 1 | -1/+1 |
| | |||||
* | s4:ldb_register_samba_handlers - fix up and convert result codes to LDB/LDAP ↵ | Matthias Dieter Wallnöfer | 2010-09-11 | 1 | -1/+1 |
| | | | | results | ||||
* | s4/ldb: fix standalone build | Björn Jacke | 2010-09-01 | 1 | -2/+6 |
| | |||||
* | s4/ldb: use monotonic clock for time deltas in ldbtest | Björn Jacke | 2010-08-31 | 1 | -4/+4 |
| | |||||
* | s4: Remove trailing whitespaces | Kamen Mazdrashki | 2010-07-19 | 2 | -13/+13 |
| | | | | Signed-off-by: Andrew Bartlett <abartlet@samba.org> | ||||
* | s4-dsdb: use ldb_msg_normalize() in ldbadd-process_file() | Kamen Mazdrashki | 2010-07-19 | 1 | -1/+9 |
| | | | | Signed-off-by: Andrew Bartlett <abartlet@samba.org> | ||||
* | s4-tools: use ldb_msg_difference() in ldbedit - modify_record() | Kamen Mazdrashki | 2010-07-19 | 1 | -6/+10 |
| | | | | Signed-off-by: Andrew Bartlett <abartlet@samba.org> | ||||
* | ldb: Fix dependencies when building with system ldb. | Jelmer Vernooij | 2010-05-31 | 4 | -4/+24 |
| | |||||
* | s4:ldb: add --controls support to ldbedit | Stefan Metzmacher | 2010-05-21 | 1 | -5/+12 |
| | | | | metze | ||||
* | s4-ldb: use a parent context in the ldb utils | Andrew Tridgell | 2010-05-02 | 6 | -12/+20 |
| | | | | This avoids a talloc free with references error on exit |