summaryrefslogtreecommitdiff
path: root/source4/lib/ldb
diff options
context:
space:
mode:
Diffstat (limited to 'source4/lib/ldb')
-rw-r--r--source4/lib/ldb/modules/asq.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/lib/ldb/modules/asq.c b/source4/lib/ldb/modules/asq.c
index 17896a006a..835715e7dc 100644
--- a/source4/lib/ldb/modules/asq.c
+++ b/source4/lib/ldb/modules/asq.c
@@ -222,10 +222,10 @@ static int asq_build_first_request(struct asq_context *ac, struct ldb_request **
base_attrs[1] = NULL;
- ret = ldb_build_search_req_ex(base_req, ac->module->ldb, ac,
+ ret = ldb_build_search_req(base_req, ac->module->ldb, ac,
ac->req->op.search.base,
LDB_SCOPE_BASE,
- ac->req->op.search.tree,
+ NULL,
(const char * const *)base_attrs,
NULL,
ac, asq_base_callback,