Monotone-Parent: 4b3afa6bee722f77839bced287a525495c0fe2e0

Monotone-Revision: 1d2115449dd0c5ec3aadc44e3a50c1752f85c59c

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2008-08-21T19:19:11
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Wolfgang Sourdeau
2008-08-21 19:19:11 +00:00
parent a7bbef355c
commit b08912c973
+4 -2
View File
@@ -29,9 +29,11 @@
#import <NGLdap/NGLdapAttribute.h>
#import <NGLdap/NGLdapEntry.h>
#import "LDAPSource.h"
#import "LDAPUserManager.h"
#import "NSArray+Utilities.h"
#import "NSString+Utilities.h"
#import "LDAPSource.h"
static NSArray *commonSearchFields;
static int timeLimit;
@@ -459,7 +461,7 @@ static int sizeLimit;
ldapValue = [[ldapEntry attributeWithName: currentMatch]
stringValueAtIndex: 0];
currentValue = [constraints objectForKey: currentMatch];
if ([ldapValue isEqualToString: currentValue])
if ([ldapValue caseInsensitiveMatches: currentValue])
currentMatch = [matches nextObject];
else
result = NO;