summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2008-03-13 14:12:18 +1100
committerAndrew Bartlett <abartlet@samba.org>2008-03-13 14:12:18 +1100
commite50d666bf9b2e5f18d19f6e1b9388d1ea7be0ff2 (patch)
tree4c6fc34efb8de86ba309948d8db2c3e4b0b2229f /source4
parent536d585c4cfb9d34965c26bdb6b6880ef4f6a4f8 (diff)
downloadsamba-e50d666bf9b2e5f18d19f6e1b9388d1ea7be0ff2.tar.gz
samba-e50d666bf9b2e5f18d19f6e1b9388d1ea7be0ff2.tar.bz2
samba-e50d666bf9b2e5f18d19f6e1b9388d1ea7be0ff2.zip
Correctly normalise records against OpenLDAP.
Fixing this simple typo allows more of the ldap.js test to pass. Andrew Bartlett (This used to be commit 7c80cd18d5cd9cbf32dac15a4734f5a3c67cd0e7)
Diffstat (limited to 'source4')
-rw-r--r--source4/dsdb/samdb/ldb_modules/normalise.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/dsdb/samdb/ldb_modules/normalise.c b/source4/dsdb/samdb/ldb_modules/normalise.c
index a0eff43534..8de9e33002 100644
--- a/source4/dsdb/samdb/ldb_modules/normalise.c
+++ b/source4/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;