summaryrefslogtreecommitdiff
path: root/source4/lib/ldb/modules
diff options
context:
space:
mode:
authorSimo Sorce <idra@samba.org>2006-05-30 00:33:52 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:08:43 -0500
commit2d19dca9c80a5e3990296dde67163fce36ac883d (patch)
tree203044c26f00783154c8c5171f9b5a088bf46d38 /source4/lib/ldb/modules
parent0c7b82e5f6063de4114de21cf854ac67346e31f6 (diff)
downloadsamba-2d19dca9c80a5e3990296dde67163fce36ac883d.tar.gz
samba-2d19dca9c80a5e3990296dde67163fce36ac883d.tar.bz2
samba-2d19dca9c80a5e3990296dde67163fce36ac883d.zip
r15944: rename LDB_ASYNC_ADD -> LDB_ADD, LDB_ASYNC_MODIFY -> LDB_MODIFY, etc...
(This used to be commit 55d97ef88f377ef1dbf7b1774a15cf9035e2f320)
Diffstat (limited to 'source4/lib/ldb/modules')
-rw-r--r--source4/lib/ldb/modules/asq.c2
-rw-r--r--source4/lib/ldb/modules/rdn_name.c2
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;