diff options
Diffstat (limited to 'source4/libads/ldap.c')
-rw-r--r-- | source4/libads/ldap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/libads/ldap.c b/source4/libads/ldap.c index 8992cb9dcf..9ada5acd77 100644 --- a/source4/libads/ldap.c +++ b/source4/libads/ldap.c @@ -1653,7 +1653,7 @@ char **ads_pull_strings_range(ADS_STRUCT *ads, attr; attr = ldap_next_attribute(ads->ld, (LDAPMessage *)msg, ptr)) { /* we ignore the fact that this is utf8, as all attributes are ascii... */ - if (strnequal(attr, expected_range_attrib, strlen(expected_range_attrib))) { + if (strncasecmp(attr, expected_range_attrib, strlen(expected_range_attrib)) == 0) { range_attr = attr; break; } |