diff options
author | Andrew Bartlett <abartlet@samba.org> | 2007-09-07 07:29:25 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 15:05:23 -0500 |
commit | 1d95a18a9ba6ce7af871c78c73844b603582ab75 (patch) | |
tree | b27b4104bbf3cb788996bdeed90ddbd580f84024 | |
parent | f8573766bc17af0afacc5d44d3c3d8234b426dbf (diff) | |
download | samba-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)
-rw-r--r-- | source4/dsdb/samdb/samdb.c | 2 |
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; } } |