svn commit: samba r12843 - in
branches/SAMBA_4_0/source/lib/ldb/tools: .
metze at samba.org
metze at samba.org
Wed Jan 11 15:03:21 GMT 2006
Author: metze
Date: 2006-01-11 15:03:20 +0000 (Wed, 11 Jan 2006)
New Revision: 12843
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=12843
Log:
get special objects with ldbsearch -a too, to match ldbedit -a
metze
Modified:
branches/SAMBA_4_0/source/lib/ldb/tools/cmdline.c
branches/SAMBA_4_0/source/lib/ldb/tools/ldbedit.c
branches/SAMBA_4_0/source/lib/ldb/tools/ldbsearch.c
Changeset:
Modified: branches/SAMBA_4_0/source/lib/ldb/tools/cmdline.c
===================================================================
--- branches/SAMBA_4_0/source/lib/ldb/tools/cmdline.c 2006-01-11 15:01:21 UTC (rev 12842)
+++ branches/SAMBA_4_0/source/lib/ldb/tools/cmdline.c 2006-01-11 15:03:20 UTC (rev 12843)
@@ -55,7 +55,7 @@
{ "recursive", 'r', POPT_ARG_NONE, &options.recursive, 0, "recursive delete", NULL },
{ "num-searches", 0, POPT_ARG_INT, &options.num_searches, 0, "number of test searches", NULL },
{ "num-records", 0, POPT_ARG_INT, &options.num_records, 0, "number of test records", NULL },
- { "all", 'a', POPT_ARG_NONE, &options.all_records, 0, "objectClass=*", NULL },
+ { "all", 'a', POPT_ARG_NONE, &options.all_records, 0, "(|(objectClass=*)(distinguishedName=*))", NULL },
{ "nosync", 0, POPT_ARG_NONE, &options.nosync, 0, "non-synchronous transactions", NULL },
{ "sorted", 'S', POPT_ARG_NONE, &options.sorted, 0, "sort attributes", NULL },
{ "sasl-mechanism", 0, POPT_ARG_STRING, &options.sasl_mechanism, 0, "choose SASL mechanism", "MECHANISM" },
Modified: branches/SAMBA_4_0/source/lib/ldb/tools/ldbedit.c
===================================================================
--- branches/SAMBA_4_0/source/lib/ldb/tools/ldbedit.c 2006-01-11 15:01:21 UTC (rev 12842)
+++ branches/SAMBA_4_0/source/lib/ldb/tools/ldbedit.c 2006-01-11 15:03:20 UTC (rev 12843)
@@ -278,7 +278,7 @@
struct ldb_result *result = NULL;
struct ldb_dn *basedn = NULL;
int ret;
- const char *expression = "(|(objectclass=*)(distinguishedName=*))";
+ const char *expression = "(|(objectClass=*)(distinguishedName=*))";
const char * const * attrs = NULL;
ldb = ldb_init(NULL);
Modified: branches/SAMBA_4_0/source/lib/ldb/tools/ldbsearch.c
===================================================================
--- branches/SAMBA_4_0/source/lib/ldb/tools/ldbsearch.c 2006-01-11 15:01:21 UTC (rev 12842)
+++ branches/SAMBA_4_0/source/lib/ldb/tools/ldbsearch.c 2006-01-11 15:03:20 UTC (rev 12843)
@@ -324,7 +324,7 @@
const char * const * attrs = NULL;
struct ldb_cmdline *options;
int ret = -1;
- const char *expression = "(objectclass=*)";
+ const char *expression = "(|(objectClass=*)(distinguishedName=*))";
ldb = ldb_init(NULL);
More information about the samba-cvs
mailing list