summaryrefslogtreecommitdiff
path: root/source4/lib/ldb/common/ldb_utf8.c
diff options
context:
space:
mode:
authorSimo Sorce <idra@samba.org>2005-07-16 18:16:32 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:29:33 -0500
commitcb2c43f7b032c26adf82f3ba7d6e3dc855f89fa4 (patch)
tree653e4ff22e4f0a424381675f9acc242c5bea9a2d /source4/lib/ldb/common/ldb_utf8.c
parentb86111fe83f531629c0d76584ea7217ac6fbffef (diff)
downloadsamba-cb2c43f7b032c26adf82f3ba7d6e3dc855f89fa4.tar.gz
samba-cb2c43f7b032c26adf82f3ba7d6e3dc855f89fa4.tar.bz2
samba-cb2c43f7b032c26adf82f3ba7d6e3dc855f89fa4.zip
r8515: ldb_dn_cmp now uses ldb_dn_compare so that the DNs are compared
on a content level not ona form level, his means that the 2 DNs: a) cn= user, dc=this, dc = is,dc=test b) cn=user,dc=this,dc=is,dc=test are now identical even if the string form differ (spaces) (This used to be commit 76d496c30867ae80434483a34b0d842523aed762)
Diffstat (limited to 'source4/lib/ldb/common/ldb_utf8.c')
-rw-r--r--source4/lib/ldb/common/ldb_utf8.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/source4/lib/ldb/common/ldb_utf8.c b/source4/lib/ldb/common/ldb_utf8.c
index 5df5a6bba7..cd68180f77 100644
--- a/source4/lib/ldb/common/ldb_utf8.c
+++ b/source4/lib/ldb/common/ldb_utf8.c
@@ -73,15 +73,6 @@ int ldb_caseless_cmp(const char *s1, const char *s2)
}
/*
- compare two basedn fields
- return 0 for match
-*/
-int ldb_dn_cmp(const char *dn1, const char *dn2)
-{
- return ldb_caseless_cmp(dn1, dn2);
-}
-
-/*
compare two attributes
return 0 for match
*/