summaryrefslogtreecommitdiff
path: root/source4/lib/ldb/tools
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2009-11-30 22:49:39 +1100
committerAndrew Tridgell <tridge@samba.org>2009-12-01 12:36:23 +1100
commit83c106e084876ee82c66a165a7b02c7702c752f4 (patch)
treeb9c1ed84e319fbcae134004748cc0e669fd66aa3 /source4/lib/ldb/tools
parenta88f086d96df01f974696f7fd76f68042e75a7d1 (diff)
downloadsamba-83c106e084876ee82c66a165a7b02c7702c752f4.tar.gz
samba-83c106e084876ee82c66a165a7b02c7702c752f4.tar.bz2
samba-83c106e084876ee82c66a165a7b02c7702c752f4.zip
s4-ldb: the '1' form of extended_dn search is easier to read
The '1' form gives GUIDs and SIDs in the ascii form as normally used for display.
Diffstat (limited to 'source4/lib/ldb/tools')
-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 522bbed049..e27ca5b6a6 100644
--- a/source4/lib/ldb/tools/cmdline.c
+++ b/source4/lib/ldb/tools/cmdline.c
@@ -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;
}