From cd7553959e194b5695f9fb1b0de01ceb915a2f13 Mon Sep 17 00:00:00 2001 From: Simo Sorce Date: Thu, 26 Jan 2006 16:42:25 +0000 Subject: r13167: handle cotrols' reply even in error (This used to be commit b9d1d02f381cf81883c9f22a1702319f5fce6eb8) --- source4/lib/ldb/tools/ldbsearch.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'source4/lib/ldb') diff --git a/source4/lib/ldb/tools/ldbsearch.c b/source4/lib/ldb/tools/ldbsearch.c index e3b3a9e6de..08a8b7f179 100644 --- a/source4/lib/ldb/tools/ldbsearch.c +++ b/source4/lib/ldb/tools/ldbsearch.c @@ -87,8 +87,7 @@ static int do_search(struct ldb_context *ldb, if (ret != LDB_SUCCESS) { printf("search failed - %s\n", ldb_errstring(ldb)); if (req.op.search.res && req.op.search.res->controls) { - - /* TODO: handle_control */ + handle_controls_reply(req.op.search.res->controls, req.controls); } return -1; } -- cgit