Safety check in the LDAP code and updated NEWS file.

Monotone-Parent: 7d3f8a6489b3a967cd9f80005b5e2fff462c1801
Monotone-Revision: cd7b1310c287fec8f03fa7a5432b1fc774378ea1

Monotone-Author: ludovic@Sophos.ca
Monotone-Date: 2009-08-17T09:48:04
Monotone-Branch: ca.inverse.sogo
maint-2.0.2
Ludovic Marcotte 2009-08-17 09:48:04 +00:00
parent cde8c0bcac
commit 93b569ab9a
3 changed files with 16 additions and 2 deletions

View File

@ -1,3 +1,10 @@
2009-08-17 Ludovic Marcotte <lmarcotte@inverse.ca>
* SoObjects/SOGo/LDAPSource.m
Safety check in case no objectClass attribute is returned
from the LDAP server
* Updated NEWS file
2009-08-14 Francis Lachapelle <flachapelle@inverse.ca>
* UI/AdministrationUI/UIxAdministration.m: new administration

5
NEWS
View File

@ -1,3 +1,8 @@
1.0-2009xxxx (1.0.5)
--------------------
- added backup/restore tools for all user's data (calendars, address books, preferences, etc.)
- added Web administrative interface (right now, only for ACLs)
1.0-20090812 (1.0.4)
--------------------
- added ability to create and modify event categories in the preferences

View File

@ -661,8 +661,10 @@ static NSLock *lock;
contactEntry = [NSMutableDictionary dictionary];
[contactEntry setObject: [ldapEntry dn] forKey: @"dn"];
[contactEntry setObject: [ldapEntry objectClasses]
forKey: @"objectClasses"];
if ([ldapEntry objectClasses])
[contactEntry setObject: [ldapEntry objectClasses]
forKey: @"objectClasses"];
attributes = [[self _searchAttributes] objectEnumerator];
while ((currentAttribute = [attributes nextObject]))
{