summaryrefslogtreecommitdiff
path: root/source4/lib/ldb/tools
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2004-04-28 06:43:35 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:51:35 -0500
commitee0489fff69533d04318de249aabd8d1d021d285 (patch)
tree469c1ab34199fb330ce08d6e26ce3e0624057b36 /source4/lib/ldb/tools
parent6cc392bff3dfe0b6b17ddb89e21bc2cdf1b51c92 (diff)
downloadsamba-ee0489fff69533d04318de249aabd8d1d021d285.tar.gz
samba-ee0489fff69533d04318de249aabd8d1d021d285.tar.bz2
samba-ee0489fff69533d04318de249aabd8d1d021d285.zip
r380: make sure that ldbedit -a works with all tdb and LDAP backends
(This used to be commit b5cb5a1e62a4b9df6f163082498942553662436e)
Diffstat (limited to 'source4/lib/ldb/tools')
-rw-r--r--source4/lib/ldb/tools/ldbedit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/lib/ldb/tools/ldbedit.c b/source4/lib/ldb/tools/ldbedit.c
index 5ae62d3ac1..07ed66d68a 100644
--- a/source4/lib/ldb/tools/ldbedit.c
+++ b/source4/lib/ldb/tools/ldbedit.c
@@ -318,7 +318,7 @@ static void usage(void)
break;
case 'a':
- expression = "objectclass=*";
+ expression = "(|(objectclass=*)(dn=*))";
break;
case 'h':