From 99f0891944e8df91b98934b6c57f9c68dfed8722 Mon Sep 17 00:00:00 2001 From: Nadezhda Ivanova Date: Sat, 25 Sep 2010 10:19:11 -0700 Subject: s4-dsdb: Fixed a call to the wrong ops function in dsdb_module_search_dn. --- source4/dsdb/samdb/ldb_modules/util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source4/dsdb/samdb/ldb_modules/util.c b/source4/dsdb/samdb/ldb_modules/util.c index 36f0ae9d84..a78200133b 100644 --- a/source4/dsdb/samdb/ldb_modules/util.c +++ b/source4/dsdb/samdb/ldb_modules/util.c @@ -79,7 +79,7 @@ int dsdb_module_search_dn(struct ldb_module *module, } else { const struct ldb_module_ops *ops = ldb_module_get_ops(module); SMB_ASSERT(dsdb_flags & DSDB_FLAG_OWN_MODULE); - ret = ops->modify(module, req); + ret = ops->search(module, req); } if (ret == LDB_SUCCESS) { ret = ldb_wait(req->handle, LDB_WAIT_ALL); -- cgit