summaryrefslogtreecommitdiff
path: root/source3/lib/ldb/modules
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2009-01-21 16:15:53 +0100
committerJelmer Vernooij <jelmer@samba.org>2009-01-21 16:15:53 +0100
commitf3ecb701335b1129947127d4c45eef970b66875c (patch)
tree4e670492610ad24817f6717bf1a9762df22cd7f5 /source3/lib/ldb/modules
parent47951fc5d0085e124666b7667715bba98076820e (diff)
downloadsamba-f3ecb701335b1129947127d4c45eef970b66875c.tar.gz
samba-f3ecb701335b1129947127d4c45eef970b66875c.tar.bz2
samba-f3ecb701335b1129947127d4c45eef970b66875c.zip
Replace ldb_search() with ldb_search_exp_fmt(), like in Samba 4.
Diffstat (limited to 'source3/lib/ldb/modules')
-rw-r--r--source3/lib/ldb/modules/ldb_map.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/ldb/modules/ldb_map.c b/source3/lib/ldb/modules/ldb_map.c
index 54e1758c1e..bda6cdcda5 100644
--- a/source3/lib/ldb/modules/ldb_map.c
+++ b/source3/lib/ldb/modules/ldb_map.c
@@ -1199,7 +1199,7 @@ static int map_init_dns(struct ldb_module *module, struct ldb_map_context *data,
return LDB_ERR_OPERATIONS_ERROR;
}
- ret = ldb_search(module->ldb, dn, LDB_SCOPE_BASE, NULL, attrs, &res);
+ ret = ldb_search(module->ldb, module->ldb, &res, dn, LDB_SCOPE_BASE, attrs, NULL);
talloc_free(dn);
if (ret != LDB_SUCCESS) {
return ret;