summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNadezhda Ivanova <nivanova@samba.org>2010-09-25 10:19:11 -0700
committerNadezhda Ivanova <nivanova@samba.org>2010-09-25 10:19:11 -0700
commit99f0891944e8df91b98934b6c57f9c68dfed8722 (patch)
treed31ce9ef5d1b95605553205672c5455b2f1a0cc9
parent8afb252abae78715d3525c1e3d3a17dbdbbb252d (diff)
downloadsamba-99f0891944e8df91b98934b6c57f9c68dfed8722.tar.gz
samba-99f0891944e8df91b98934b6c57f9c68dfed8722.tar.bz2
samba-99f0891944e8df91b98934b6c57f9c68dfed8722.zip
s4-dsdb: Fixed a call to the wrong ops function in dsdb_module_search_dn.
-rw-r--r--source4/dsdb/samdb/ldb_modules/util.c2
1 files changed, 1 insertions, 1 deletions
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);