From 83c106e084876ee82c66a165a7b02c7702c752f4 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Mon, 30 Nov 2009 22:49:39 +1100 Subject: 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. --- source4/lib/ldb/tools/cmdline.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- cgit