summaryrefslogtreecommitdiff
path: root/source4/dsdb/samdb/ldb_modules/samldb.c
diff options
context:
space:
mode:
authorSimo Sorce <idra@samba.org>2006-05-13 21:08:37 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:06:00 -0500
commitaa7a02d45fefad3640f273b1d3bfe535a1e6b88c (patch)
tree548f2e54edc24c21984c11deed35813b015a3809 /source4/dsdb/samdb/ldb_modules/samldb.c
parent3064782735e927de63cdfa34a19c95a9d099a82a (diff)
downloadsamba-aa7a02d45fefad3640f273b1d3bfe535a1e6b88c.tar.gz
samba-aa7a02d45fefad3640f273b1d3bfe535a1e6b88c.tar.bz2
samba-aa7a02d45fefad3640f273b1d3bfe535a1e6b88c.zip
r15582: Commit some forgotten stuff that have been setting on my private tree fro long
(This used to be commit 7c050b541e98cd442a0c9ed0ddadb3e573cd1304)
Diffstat (limited to 'source4/dsdb/samdb/ldb_modules/samldb.c')
-rw-r--r--source4/dsdb/samdb/ldb_modules/samldb.c10
1 files changed, 1 insertions, 9 deletions
diff --git a/source4/dsdb/samdb/ldb_modules/samldb.c b/source4/dsdb/samdb/ldb_modules/samldb.c
index cfc7192543..f8a151ddda 100644
--- a/source4/dsdb/samdb/ldb_modules/samldb.c
+++ b/source4/dsdb/samdb/ldb_modules/samldb.c
@@ -859,20 +859,12 @@ static int samldb_add_async(struct ldb_module *module, struct ldb_request *req)
}
}
+ *down_req = *req;
if (msg2 != NULL) {
down_req->op.add.message = talloc_steal(down_req, msg2);
- } else {
- down_req->op.add.message = msg;
}
- down_req->controls = req->controls;
- down_req->creds = req->creds;
-
- down_req->async.context = req->async.context;
- down_req->async.callback = req->async.callback;
- down_req->async.timeout = req->async.timeout;
-
/* go on with the call chain */
ret = ldb_next_request(module, down_req);