s4-ldb: the '1' form of extended_dn search is easier to read
authorAndrew Tridgell <tridge@samba.org>
Mon, 30 Nov 2009 11:49:39 +0000 (22:49 +1100)
committerAndrew Tridgell <tridge@samba.org>
Tue, 1 Dec 2009 01:36:23 +0000 (12:36 +1100)
The '1' form gives GUIDs and SIDs in the ascii form as normally used
for display.

source4/lib/ldb/tools/cmdline.c

index 522bbed0497bb9357da532226ae722f2b960e8ea..e27ca5b6a6c25cad2d83a48c462326410fbb6f6c 100644 (file)
@@ -232,7 +232,7 @@ struct ldb_cmdline *ldb_cmdline_process(struct ldb_context *ldb,
                        }
                        break;
                case 'E':
-                       if (!add_control(ret, "extended_dn:1")) {
+                       if (!add_control(ret, "extended_dn:1:1")) {
                                fprintf(stderr, __location__ ": out of memory\n");
                                goto failed;
                        }