summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimo Sorce <idra@samba.org>2006-01-26 16:42:25 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:51:31 -0500
commitcd7553959e194b5695f9fb1b0de01ceb915a2f13 (patch)
treed4a88f38bede4d1bfdff64031b06bbb0186d79c1
parentd346794a8d962de209cc3a111c73e23553c9a767 (diff)
downloadsamba-cd7553959e194b5695f9fb1b0de01ceb915a2f13.tar.gz
samba-cd7553959e194b5695f9fb1b0de01ceb915a2f13.tar.bz2
samba-cd7553959e194b5695f9fb1b0de01ceb915a2f13.zip
r13167: handle cotrols' reply even in error
(This used to be commit b9d1d02f381cf81883c9f22a1702319f5fce6eb8)
-rw-r--r--source4/lib/ldb/tools/ldbsearch.c3
1 files changed, 1 insertions, 2 deletions
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;
}