diff options
Diffstat (limited to 'source4/lib/ldb/modules')
-rw-r--r-- | source4/lib/ldb/modules/asq.c | 2 | ||||
-rw-r--r-- | source4/lib/ldb/modules/rdn_name.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/source4/lib/ldb/modules/asq.c b/source4/lib/ldb/modules/asq.c index 005d1e41b0..396a2346df 100644 --- a/source4/lib/ldb/modules/asq.c +++ b/source4/lib/ldb/modules/asq.c @@ -312,7 +312,7 @@ static int asq_async_requests(struct ldb_async_handle *handle) { ac->reqs[i] = talloc_zero(ac->reqs, struct ldb_request); if (ac->reqs[i] == NULL) return LDB_ERR_OPERATIONS_ERROR; - ac->reqs[i]->operation = LDB_ASYNC_SEARCH; + ac->reqs[i]->operation = LDB_SEARCH; ac->reqs[i]->op.search.base = ldb_dn_explode(ac->reqs[i], (const char *)el->values[i].data); if (ac->reqs[i]->op.search.base == NULL) { ac->asq_ret = ASQ_CTRL_INVALID_ATTRIBUTE_SYNTAX; diff --git a/source4/lib/ldb/modules/rdn_name.c b/source4/lib/ldb/modules/rdn_name.c index 059e7843cd..d6eb0ef13e 100644 --- a/source4/lib/ldb/modules/rdn_name.c +++ b/source4/lib/ldb/modules/rdn_name.c @@ -202,7 +202,7 @@ static int rdn_name_rename_do_mod(struct ldb_async_handle *h) { ac->mod_req = talloc_zero(ac, struct ldb_request); - ac->mod_req->operation = LDB_ASYNC_MODIFY; + ac->mod_req->operation = LDB_MODIFY; ac->mod_req->op.mod.message = msg = ldb_msg_new(ac->mod_req); if (msg == NULL) { return LDB_ERR_OPERATIONS_ERROR; |