summaryrefslogtreecommitdiff
path: root/source4/dsdb
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2007-09-07 07:29:25 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 15:05:23 -0500
commit1d95a18a9ba6ce7af871c78c73844b603582ab75 (patch)
treeb27b4104bbf3cb788996bdeed90ddbd580f84024 /source4/dsdb
parentf8573766bc17af0afacc5d44d3c3d8234b426dbf (diff)
downloadsamba-1d95a18a9ba6ce7af871c78c73844b603582ab75.tar.gz
samba-1d95a18a9ba6ce7af871c78c73844b603582ab75.tar.bz2
samba-1d95a18a9ba6ce7af871c78c73844b603582ab75.zip
r24986: LDB has a function for comparing things that must meet the rules of
attribute names. Andrew Bartlett (This used to be commit 46e387580622bd6d5d621399e08c5d5003c91bbf)
Diffstat (limited to 'source4/dsdb')
-rw-r--r--source4/dsdb/samdb/samdb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/dsdb/samdb/samdb.c b/source4/dsdb/samdb/samdb.c
index 9454daceee..fdc78e3cad 100644
--- a/source4/dsdb/samdb/samdb.c
+++ b/source4/dsdb/samdb/samdb.c
@@ -645,7 +645,7 @@ struct ldb_message_element *samdb_find_attribute(struct ldb_context *ldb,
}
for (i=0;i<el->num_values;i++) {
- if (strcasecmp(value, (char *)el->values[i].data) == 0) {
+ if (ldb_attr_cmp(value, (char *)el->values[i].data) == 0) {
return el;
}
}