summaryrefslogtreecommitdiff
path: root/source3/lib/ldb/common/ldb_modules.c
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2009-01-21 15:18:05 +0100
committerJelmer Vernooij <jelmer@samba.org>2009-01-21 15:18:05 +0100
commit47951fc5d0085e124666b7667715bba98076820e (patch)
tree67216ad0d594eb5a7238327c386ba34594142118 /source3/lib/ldb/common/ldb_modules.c
parentd3199276eac8caa55c8334458d156fd4badae338 (diff)
downloadsamba-47951fc5d0085e124666b7667715bba98076820e.tar.gz
samba-47951fc5d0085e124666b7667715bba98076820e.tar.bz2
samba-47951fc5d0085e124666b7667715bba98076820e.zip
Reorder arguments to ldb_search() to match what is in Samba 4.
Diffstat (limited to 'source3/lib/ldb/common/ldb_modules.c')
-rw-r--r--source3/lib/ldb/common/ldb_modules.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/ldb/common/ldb_modules.c b/source3/lib/ldb/common/ldb_modules.c
index fa7f685d97..8699cd8b95 100644
--- a/source3/lib/ldb/common/ldb_modules.c
+++ b/source3/lib/ldb/common/ldb_modules.c
@@ -340,7 +340,7 @@ int ldb_load_modules(struct ldb_context *ldb, const char *options[])
return -1;
}
- ret = ldb_search(ldb, mods_dn, LDB_SCOPE_BASE, "", attrs, &res);
+ ret = ldb_search(ldb, ldb, &res, mods_dn, LDB_SCOPE_BASE, attrs, "");
talloc_steal(mods_dn, res);
if (ret == LDB_SUCCESS && (res->count == 0 || res->msgs[0]->num_elements == 0)) {
ldb_debug(ldb, LDB_DEBUG_TRACE, "no modules required by the db\n");