From 1d95a18a9ba6ce7af871c78c73844b603582ab75 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Fri, 7 Sep 2007 07:29:25 +0000 Subject: r24986: LDB has a function for comparing things that must meet the rules of attribute names. Andrew Bartlett (This used to be commit 46e387580622bd6d5d621399e08c5d5003c91bbf) --- source4/dsdb/samdb/samdb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source4/dsdb') 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;inum_values;i++) { - if (strcasecmp(value, (char *)el->values[i].data) == 0) { + if (ldb_attr_cmp(value, (char *)el->values[i].data) == 0) { return el; } } -- cgit