git.samba.org
/
kai
/
samba.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
s4:schema/schema_init.c - better use "ldb_attr_cmp" instead of "strcasecmp"
[kai/samba.git]
/
source4
/
dsdb
/
schema
/
schema_init.c
diff --git
a/source4/dsdb/schema/schema_init.c
b/source4/dsdb/schema/schema_init.c
index a4c29f1aa54f050166d9fd343738647c16f4cd7c..93070503c7b3763ce7a976cef4d2bbac38aca07c 100644
(file)
--- 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 (
strcase
cmp(attr, attrs[i]) == 0) {
+ if (
ldb_attr_
cmp(attr, attrs[i]) == 0) {
return true;
}
}