See ChangeLog

Monotone-Parent: 795fdd1b62319c12f9aef930c35c63d2fd26c3ac
Monotone-Revision: e290f01a5006f7dc9a5dec96622f04d6bcdb008c

Monotone-Author: ludovic@Sophos.ca
Monotone-Date: 2009-04-13T13:10:16
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Ludovic Marcotte
2009-04-13 13:10:16 +00:00
parent 31a55844a3
commit 12dc73a01f
4 changed files with 13 additions and 5 deletions
+8
View File
@@ -1,3 +1,11 @@
2009-04-13 Ludovic Marcotte <lmarcotte@inverse.ca>
* SoObjects/Contacts/SOGoContactLDAPFolder.m and
SoObjects/SOGo/LDAPSource.h: renamed allEntryIDs to
allEntryUIDs and we now use the UID instead of the ID
when returning all entries since when the callback
is invoked, we use the UID and NOT the ID.
2009-04-09 Ludovic Marcotte <lmarcotte@inverse.ca>
* Reverted previous patch and provided the correct
+1 -1
View File
@@ -190,7 +190,7 @@
- (NSArray *) toOneRelationshipKeys
{
return [ldapSource allEntryIDs];
return [ldapSource allEntryUIDs];
}
- (NSArray *) _flattenedRecords: (NSArray *) records
+1 -1
View File
@@ -74,7 +74,7 @@
- (NSDictionary *) lookupContactEntry: (NSString *) entryID;
- (NSDictionary *) lookupContactEntryWithUIDorEmail: (NSString *) entryID;
- (NSArray *) allEntryIDs;
- (NSArray *) allEntryUIDs;
- (NSArray *) fetchContactsMatching: (NSString *) filter;
- (NSString *) sourceID;
+3 -3
View File
@@ -517,7 +517,7 @@ static NSLock *lock;
return searchAttributes;
}
- (NSArray *) allEntryIDs
- (NSArray *) allEntryUIDs
{
NSMutableArray *ids;
NSEnumerator *entries;
@@ -534,7 +534,7 @@ static NSLock *lock;
{
NSArray *attributes;
attributes = [NSArray arrayWithObject: IDField];
attributes = [NSArray arrayWithObject: UIDField];
if ([_scope caseInsensitiveCompare: @"BASE"] == NSOrderedSame)
entries = [ldapConnection baseSearchAtBaseDN: baseDN
qualifier: nil
@@ -556,7 +556,7 @@ static NSLock *lock;
currentEntry = [entries nextObject];
while (currentEntry)
{
value = [[currentEntry attributeWithName: IDField]
value = [[currentEntry attributeWithName: UIDField]
stringValueAtIndex: 0];
if ([value length] > 0)
[ids addObject: value];