diff options
author | Simo Sorce <idra@samba.org> | 2006-02-04 06:57:28 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:51:45 -0500 |
commit | 04396c36d3ee8300b2b73ea8b43a45ea1b250828 (patch) | |
tree | 9f48c588c7faf2ace8b1ea0281cd3fd01d10af5f /source4/lib/ldb/common/ldb_dn.c | |
parent | 88279373abc07fa50a969135eb5ecf58d6c40cc7 (diff) | |
download | samba-04396c36d3ee8300b2b73ea8b43a45ea1b250828.tar.gz samba-04396c36d3ee8300b2b73ea8b43a45ea1b250828.tar.bz2 samba-04396c36d3ee8300b2b73ea8b43a45ea1b250828.zip |
r13333: revert previous commit I will use ldb_caseless_cmp in attrib_handlers
to correctly support utf8 comparisons
add an ldb_attr_Casefold function for attribute names and use it
instead of casefold in the right places
(This used to be commit 3b4eb2413bbce059dde69f35c03cdc3cc2ba85c5)
Diffstat (limited to 'source4/lib/ldb/common/ldb_dn.c')
-rw-r--r-- | source4/lib/ldb/common/ldb_dn.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/lib/ldb/common/ldb_dn.c b/source4/lib/ldb/common/ldb_dn.c index bcd5a067a6..9f3374bceb 100644 --- a/source4/lib/ldb/common/ldb_dn.c +++ b/source4/lib/ldb/common/ldb_dn.c @@ -581,7 +581,7 @@ struct ldb_dn *ldb_dn_casefold(struct ldb_context *ldb, const struct ldb_dn *edn struct ldb_dn_component dc; const struct ldb_attrib_handler *h; - dc.name = ldb_casefold(ldb, cedn, edn->components[i].name); + dc.name = ldb_attr_casefold(cedn, edn->components[i].name); LDB_DN_NULL_FAILED(dc.name); h = ldb_attrib_handler(ldb, dc.name); |