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:
parent
96c12fa555
commit
ed0545ba6c
|
@ -10,6 +10,9 @@
|
||||||
coming from a SQL database. This can be used concurrently
|
coming from a SQL database. This can be used concurrently
|
||||||
with LDAP sources. Modified many classes to reflect this
|
with LDAP sources. Modified many classes to reflect this
|
||||||
change.
|
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>
|
2009-09-24 Cyril Robert <crobert@inverse.ca>
|
||||||
|
|
||||||
|
|
|
@ -490,7 +490,7 @@ static NSLock *lock;
|
||||||
bindFieldsEnum = [[bindFields componentsSeparatedByString: @","]
|
bindFieldsEnum = [[bindFields componentsSeparatedByString: @","]
|
||||||
objectEnumerator];
|
objectEnumerator];
|
||||||
while ((currentField = [bindFieldsEnum nextObject]))
|
while ((currentField = [bindFieldsEnum nextObject]))
|
||||||
[qs appendFormat: @" OR (%@='%@')", currentField, escapedUid];
|
[qs appendFormat: @" OR (%@='%@')", [currentField stringByTrimmingSpaces], escapedUid];
|
||||||
}
|
}
|
||||||
|
|
||||||
if (_filter && [_filter length])
|
if (_filter && [_filter length])
|
||||||
|
|
Loading…
Reference in a new issue