diff options
Diffstat (limited to 'source/lib/gendb.c')
-rw-r--r-- | source/lib/gendb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/lib/gendb.c b/source/lib/gendb.c index a5fe7c3bced..e0fb9662bbd 100644 --- a/source/lib/gendb.c +++ b/source/lib/gendb.c @@ -90,7 +90,7 @@ int gendb_search_dn(struct ldb_context *ldb, struct ldb_message ***res, const char * const *attrs) { - return gendb_search(ldb, mem_ctx, dn, res, attrs, "dn=%s", ldb_dn_linearize(mem_ctx, dn)); + return gendb_search(ldb, mem_ctx, dn, res, attrs, NULL); } /* |