summaryrefslogtreecommitdiff
path: root/source4/dsdb/samdb
diff options
context:
space:
mode:
Diffstat (limited to 'source4/dsdb/samdb')
-rw-r--r--source4/dsdb/samdb/ldb_modules/instancetype.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/dsdb/samdb/ldb_modules/instancetype.c b/source4/dsdb/samdb/ldb_modules/instancetype.c
index c557fe1ecc..21212bffa7 100644
--- a/source4/dsdb/samdb/ldb_modules/instancetype.c
+++ b/source4/dsdb/samdb/ldb_modules/instancetype.c
@@ -137,7 +137,7 @@ static int instancetype_add(struct ldb_module *module, struct ldb_request *req)
ac->module = module;
ac->req = req;
- ret = ldb_build_add_req(&ac->add_req, ldb_module_get_ctx(ac->module), ac,
+ ret = ldb_build_add_req(&ac->add_req, ldb, ac,
ac->req->op.add.message,
ac->req->controls,
ac, it_add_callback,