Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
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:tools/cmdline.c + tools/ldbtest.c - make use of LDB result constants | Matthias Dieter Wallnöfer | 2 | -2/+2 | |
Reviewed-by: abartlet | |||||
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-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-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-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 | 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-09 | ldb:tools - return LDB_ERR_OPERATIONS_ERROR on generic errors | Matthias Dieter Wallnöfer | 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. | |||||
2011-02-09 | ldb:tools - always check if ldb connection has been estabilished | Matthias Dieter Wallnöfer | 7 | -1/+19 | |
Otherwise return "LDB_ERR_OPERATIONS_ERROR". | |||||
2011-02-09 | ldb:ldbsearch tool - use LDB result constants where possible | Matthias Dieter Wallnöfer | 1 | -7/+7 | |
2011-02-09 | ldb:ldbsearch tool - simplify error code return | Matthias Dieter Wallnöfer | 1 | -3/+1 | |
2011-02-09 | ldb:ldbsearch tool - use "%u" for printing unsigned integers | Matthias Dieter Wallnöfer | 1 | -1/+1 | |
2011-02-09 | ldb:ldbedit tool - don't forget about the "do_edit" result code | Matthias Dieter Wallnöfer | 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". | |||||
2011-02-09 | ldb:ldbedit tool - fix bug #7914 | Matthias Dieter Wallnöfer | 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). | |||||
2011-02-09 | ldb:ldbedit tool - use unsigned counters for consistency with other LDB tools | Matthias Dieter Wallnöfer | 1 | -2/+2 | |
2011-02-09 | ldb:ldbedit tool - use "%u" for printing out unsigned integers | Matthias Dieter Wallnöfer | 1 | -2/+2 | |
2011-02-09 | ldb:ldbedit tool - use LDB result constants where needed | Matthias Dieter Wallnöfer | 1 | -5/+5 | |
2011-02-09 | ldb:ldbrename tool - use LDB result constant where needed | Matthias Dieter Wallnöfer | 1 | -1/+1 | |
2011-02-09 | ldb:ldbmodify tool - use unsigned counters for consistency with other LDB tools | Matthias Dieter Wallnöfer | 1 | -5/+5 | |
2011-02-09 | ldb:ldbdel tool - use LDB result constants for consistency | Matthias Dieter Wallnöfer | 1 | -7/+7 | |
2011-02-09 | ldb:ldbadd tool - use LDB return codes where possible | Matthias Dieter Wallnöfer | 1 | -4/+6 | |
2011-02-09 | ldb:ldbadd tool - use "%u" for printing out unsigned integers | Matthias Dieter Wallnöfer | 1 | -1/+1 | |
2011-02-09 | ldb:ldbadd tool - use LDB result constants for consistency | Matthias Dieter Wallnöfer | 1 | -4/+4 | |
2011-01-12 | ldb:ldbsearch.c - fix possible uninitialised variable | Matthias Dieter Wallnöfer | 1 | -2/+2 | |
And add a comparison for the "ret" result - this is more standard-oriented | |||||
2011-01-03 | s4:ldb: Add prototype header. | Brad Hards | 1 | -0/+2 | |
Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2010-12-21 | ldb:tools/ldbdel.c - "replace.h" should be the first include | Matthias Dieter Wallnöfer | 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 | |||||
2010-11-04 | s4-ldb: honor controls on search in ldbedit | Andrew Tridgell | 3 | -1/+81 | |
2010-11-03 | s4-ldb: expose some more ldb module functions | Andrew Tridgell | 1 | -4/+6 | |
this exposes enough functions for s4 to not need ldb_private.h any more. | |||||
2010-11-01 | s4-ldb: removed ldb_includes.h | Andrew Tridgell | 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 | |||||
2010-11-01 | ldb:tools/ldbtest.c - fix build warning | Matthias Dieter Wallnöfer | 2 | -2/+3 | |
Cause was an incomplete declaration. | |||||
2010-11-01 | s4-ldb: convert existing ldb tools to use new command line hooks | Andrew Tridgell | 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> | |||||
2010-11-01 | s4-ldb: added ldb command line hook support | Andrew Tridgell | 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> | |||||
2010-11-01 | s4-test: we don't need to set LDB_MODULES_PATH any more | Andrew Tridgell | 1 | -2/+0 | |
2010-10-31 | s4: Remove the old perl/m4/make/mk-based build system. | Jelmer Vernooij | 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 | |||||
2010-10-19 | s4-ldb: added --relax cmdline option | Andrew Tridgell | 1 | -0/+9 | |
this adds the relax control | |||||
2010-09-11 | ldb:tools/cmdline.c - reorganise imports | Matthias Dieter Wallnöfer | 1 | -6/+2 | |
2010-09-11 | ldb:tools/cmdline.c - make a counter unsigned where appropriate | Matthias Dieter Wallnöfer | 1 | -1/+1 | |
2010-09-11 | s4:ldb_register_samba_handlers - fix up and convert result codes to LDB/LDAP ↵ | Matthias Dieter Wallnöfer | 1 | -1/+1 | |
results | |||||
2010-09-01 | s4/ldb: fix standalone build | Björn Jacke | 1 | -2/+6 | |
2010-08-31 | s4/ldb: use monotonic clock for time deltas in ldbtest | Björn Jacke | 1 | -4/+4 | |
2010-07-19 | s4: Remove trailing whitespaces | Kamen Mazdrashki | 2 | -13/+13 | |
Signed-off-by: Andrew Bartlett <abartlet@samba.org> | |||||
2010-07-19 | s4-dsdb: use ldb_msg_normalize() in ldbadd-process_file() | Kamen Mazdrashki | 1 | -1/+9 | |
Signed-off-by: Andrew Bartlett <abartlet@samba.org> | |||||
2010-07-19 | s4-tools: use ldb_msg_difference() in ldbedit - modify_record() | Kamen Mazdrashki | 1 | -6/+10 | |
Signed-off-by: Andrew Bartlett <abartlet@samba.org> | |||||
2010-05-31 | ldb: Fix dependencies when building with system ldb. | Jelmer Vernooij | 4 | -4/+24 | |
2010-05-21 | s4:ldb: add --controls support to ldbedit | Stefan Metzmacher | 1 | -5/+12 | |
metze | |||||
2010-05-02 | s4-ldb: use a parent context in the ldb utils | Andrew Tridgell | 6 | -12/+20 | |
This avoids a talloc free with references error on exit | |||||
2010-04-11 | subunit: Support formatting compatible with upstream subunit, for consistency. | Jelmer Vernooij | 1 | -1/+1 | |
Upstream subunit makes a ":" after commands optional, so I've fixed any places where we might trigger commands accidently. I've filed a bug about this in subunit. |