diff options
author | Stefan Metzmacher <metze@samba.org> | 2007-01-04 14:42:13 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 14:36:48 -0500 |
commit | 35c5e2d3183843cde2c702c0e76a7ac9f5f17d37 (patch) | |
tree | 19454851114f1d34d5b4bea50b8d5da19aa7f32e | |
parent | b3c793c58cd539278c853219e609bbe2571498b9 (diff) | |
download | samba-35c5e2d3183843cde2c702c0e76a7ac9f5f17d37.tar.gz samba-35c5e2d3183843cde2c702c0e76a7ac9f5f17d37.tar.bz2 samba-35c5e2d3183843cde2c702c0e76a7ac9f5f17d37.zip |
r20523: match the lDAPDisplayName case insensitive
metze
(This used to be commit c32ec0a10041dba50be23611f25e4aae8c45830c)
-rw-r--r-- | source4/dsdb/schema/schema_init.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/dsdb/schema/schema_init.c b/source4/dsdb/schema/schema_init.c index 6caefef9a7..bed4e78525 100644 --- a/source4/dsdb/schema/schema_init.c +++ b/source4/dsdb/schema/schema_init.c @@ -714,7 +714,7 @@ const struct dsdb_attribute *dsdb_attribute_by_lDAPDisplayName(const struct dsdb /* TODO: add binary search */ for (cur = schema->attributes; cur; cur = cur->next) { - if (strcmp(cur->lDAPDisplayName, name) != 0) continue; + if (strcasecmp(cur->lDAPDisplayName, name) != 0) continue; return cur; } @@ -769,7 +769,7 @@ const struct dsdb_class *dsdb_class_by_lDAPDisplayName(const struct dsdb_schema /* TODO: add binary search */ for (cur = schema->classes; cur; cur = cur->next) { - if (strcmp(cur->lDAPDisplayName, name) != 0) continue; + if (strcasecmp(cur->lDAPDisplayName, name) != 0) continue; return cur; } |