summaryrefslogtreecommitdiff
path: root/source4/dsdb
diff options
context:
space:
mode:
authorMatthias Dieter Wallnöfer <mdw@samba.org>2012-04-05 21:38:14 +0200
committerAndrew Bartlett <abartlet@samba.org>2012-04-11 12:50:16 +1000
commit35dfd79dcafdadcc61818975bd0719605d95cf95 (patch)
tree456531ea84270686d7cd303c14f790604b66abf0 /source4/dsdb
parent0c2c5f24a91e365f913dbc1d369341a366ba1e17 (diff)
downloadsamba-35dfd79dcafdadcc61818975bd0719605d95cf95.tar.gz
samba-35dfd79dcafdadcc61818975bd0719605d95cf95.tar.bz2
samba-35dfd79dcafdadcc61818975bd0719605d95cf95.zip
s4:schema/schema_init.c - better use "ldb_attr_cmp" instead of "strcasecmp"
LDB convention
Diffstat (limited to 'source4/dsdb')
-rw-r--r--source4/dsdb/schema/schema_init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/dsdb/schema/schema_init.c b/source4/dsdb/schema/schema_init.c
index a4c29f1aa5..93070503c7 100644
--- a/source4/dsdb/schema/schema_init.c
+++ b/source4/dsdb/schema/schema_init.c
@@ -458,7 +458,7 @@ static bool dsdb_schema_unique_attribute(const char *attr)
const char *attrs[] = { "objectGUID", "objectSid" , NULL };
unsigned int i;
for (i=0;attrs[i];i++) {
- if (strcasecmp(attr, attrs[i]) == 0) {
+ if (ldb_attr_cmp(attr, attrs[i]) == 0) {
return true;
}
}