From 7c80cd18d5cd9cbf32dac15a4734f5a3c67cd0e7 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Thu, 13 Mar 2008 14:12:18 +1100 Subject: [PATCH] Correctly normalise records against OpenLDAP. Fixing this simple typo allows more of the ldap.js test to pass. Andrew Bartlett --- source/dsdb/samdb/ldb_modules/normalise.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/dsdb/samdb/ldb_modules/normalise.c b/source/dsdb/samdb/ldb_modules/normalise.c index a0eff43534d..8de9e33002b 100644 --- a/source/dsdb/samdb/ldb_modules/normalise.c +++ b/source/dsdb/samdb/ldb_modules/normalise.c @@ -117,7 +117,7 @@ static int normalise_search_callback(struct ldb_context *ldb, void *context, str talloc_free(mem_ctx); return LDB_ERR_OPERATIONS_ERROR; } - ret = fix_dn(ares->message->dn); + ret = fix_dn(dn); if (ret != LDB_SUCCESS) { talloc_free(mem_ctx); return ret;