r380: make sure that ldbedit -a works with all tdb and LDAP backends
authorAndrew Tridgell <tridge@samba.org>
Wed, 28 Apr 2004 06:43:35 +0000 (06:43 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 17:51:35 +0000 (12:51 -0500)
(This used to be commit b5cb5a1e62a4b9df6f163082498942553662436e)

source4/lib/ldb/tools/ldbedit.c

index 5ae62d3ac1c2df555e8e4b227cc2849d8266e982..07ed66d68a8700cb31792137996e626041a44ef5 100644 (file)
@@ -318,7 +318,7 @@ static void usage(void)
                        break;
 
                case 'a':
-                       expression = "objectclass=*";
+                       expression = "(|(objectclass=*)(dn=*))";
                        break;
                        
                case 'h':