summaryrefslogtreecommitdiff
path: root/source4/lib/ldb/common/ldb_dn.c
diff options
context:
space:
mode:
authorSimo Sorce <idra@samba.org>2006-02-04 05:59:48 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:51:44 -0500
commit88279373abc07fa50a969135eb5ecf58d6c40cc7 (patch)
treeab1a73694d18f5d5d96892122cba5a4cfcc85b40 /source4/lib/ldb/common/ldb_dn.c
parent48d8eee7522e1c1c45a9353ab77c96c20321f143 (diff)
downloadsamba-88279373abc07fa50a969135eb5ecf58d6c40cc7.tar.gz
samba-88279373abc07fa50a969135eb5ecf58d6c40cc7.tar.bz2
samba-88279373abc07fa50a969135eb5ecf58d6c40cc7.zip
r13328: After the attribute name check cleanup it turned up ldb_caseless_cmp()
was used just in one places and by mistake, as there we should have been using ldb_attr_cmp() Remove ldb_caseless_cmp() ... going on with the cleanup and utf8 compliance effort. Simo. (This used to be commit afda68d7bf655a9145648856d29e6e64b9f21aa3)
Diffstat (limited to 'source4/lib/ldb/common/ldb_dn.c')
-rw-r--r--source4/lib/ldb/common/ldb_dn.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/source4/lib/ldb/common/ldb_dn.c b/source4/lib/ldb/common/ldb_dn.c
index c2212fd6fe..bcd5a067a6 100644
--- a/source4/lib/ldb/common/ldb_dn.c
+++ b/source4/lib/ldb/common/ldb_dn.c
@@ -502,9 +502,8 @@ int ldb_dn_compare_base(struct ldb_context *ldb,
const struct ldb_attrib_handler *h;
/* compare names (attribute names are guaranteed to be ASCII only) */
- ret = ldb_caseless_cmp(ldb,
- base->components[n0].name,
- dn->components[n1].name);
+ ret = ldb_attr_cmp(base->components[n0].name,
+ dn->components[n1].name);
if (ret) {
return ret;
}