diff options
author | Andrew Tridgell <tridge@samba.org> | 2004-09-20 07:22:00 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 12:58:52 -0500 |
commit | 44090f273c612a9a2131ef49cea553850dbad2ad (patch) | |
tree | ad6b65a05e623146423197689b8db2cdfadd31cd /source4/libads/ldap.c | |
parent | 9c69372fb2e7ab9b4100e0e3ea10142a38a4df97 (diff) | |
download | samba-44090f273c612a9a2131ef49cea553850dbad2ad.tar.gz samba-44090f273c612a9a2131ef49cea553850dbad2ad.tar.bz2 samba-44090f273c612a9a2131ef49cea553850dbad2ad.zip |
r2431: got rid of strnequal() in a couple of places
(This used to be commit a1b5880b2e548832eaf4a136aab1aead525c938f)
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; } |