summaryrefslogtreecommitdiff
path: root/source4/lib/ldb/tools/cmdline.c
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2006-01-11 15:03:20 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:50:05 -0500
commit2e8937c334b20b07d28f1a6647f97c1df5da44e7 (patch)
tree3476d4b8cd0c18e20bc576626aa9c7b8eb1d852f /source4/lib/ldb/tools/cmdline.c
parent91a37f02dd11df226be5ff21881933126e1cb187 (diff)
downloadsamba-2e8937c334b20b07d28f1a6647f97c1df5da44e7.tar.gz
samba-2e8937c334b20b07d28f1a6647f97c1df5da44e7.tar.bz2
samba-2e8937c334b20b07d28f1a6647f97c1df5da44e7.zip
r12843: get special objects with ldbsearch -a too, to match ldbedit -a
metze (This used to be commit bb68f2e602dbcc94c05b2dd764c163be1e5a583d)
Diffstat (limited to 'source4/lib/ldb/tools/cmdline.c')
-rw-r--r--source4/lib/ldb/tools/cmdline.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/lib/ldb/tools/cmdline.c b/source4/lib/ldb/tools/cmdline.c
index ee9e5f5e47..7f715a46b1 100644
--- a/source4/lib/ldb/tools/cmdline.c
+++ b/source4/lib/ldb/tools/cmdline.c
@@ -55,7 +55,7 @@ struct ldb_cmdline *ldb_cmdline_process(struct ldb_context *ldb, int argc, const
{ "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" },