See ChangeLog

Monotone-Parent: e8cc028cde8aa18eb4abffeb03ecc1073cec1dfb
Monotone-Revision: dce711f005c952cd07f83c7d04ee10abdf742a01

Monotone-Author: ludovic@Sophos.ca
Monotone-Date: 2009-09-25T15:21:01
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Ludovic Marcotte 2009-09-25 15:21:01 +00:00
parent 96c12fa555
commit ed0545ba6c
2 changed files with 4 additions and 1 deletions

View file

@ -10,6 +10,9 @@
coming from a SQL database. This can be used concurrently
with LDAP sources. Modified many classes to reflect this
change.
* SoObjects/SOGo/LDAPSource.m
We trim the bind field value prior to adding it to our
LDAP search filter.
2009-09-24 Cyril Robert <crobert@inverse.ca>

View file

@ -490,7 +490,7 @@ static NSLock *lock;
bindFieldsEnum = [[bindFields componentsSeparatedByString: @","]
objectEnumerator];
while ((currentField = [bindFieldsEnum nextObject]))
[qs appendFormat: @" OR (%@='%@')", currentField, escapedUid];
[qs appendFormat: @" OR (%@='%@')", [currentField stringByTrimmingSpaces], escapedUid];
}
if (_filter && [_filter length])