summaryrefslogtreecommitdiff
path: root/source4/lib/ldb/tools/ldbsearch.c
diff options
context:
space:
mode:
Diffstat (limited to 'source4/lib/ldb/tools/ldbsearch.c')
-rw-r--r--source4/lib/ldb/tools/ldbsearch.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/lib/ldb/tools/ldbsearch.c b/source4/lib/ldb/tools/ldbsearch.c
index f151164559..e6b8a48a95 100644
--- a/source4/lib/ldb/tools/ldbsearch.c
+++ b/source4/lib/ldb/tools/ldbsearch.c
@@ -219,7 +219,7 @@ static int do_search(struct ldb_context *ldb,
sctx->refs = 0;
if (basedn == NULL) {
- basedn = ldb_auto_basedn(ldb);
+ basedn = ldb_get_default_basedn(ldb);
}
req->operation = LDB_SEARCH;