See ChangeLog

Monotone-Parent: bafccbe12139895411068d388269aca400af46ec
Monotone-Revision: 7491be61ec53fdb2d4b8819659ba34568c97d059

Monotone-Author: ludovic@Sophos.ca
Monotone-Date: 2009-04-01T18:50:32
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Ludovic Marcotte
2009-04-01 18:50:32 +00:00
parent 8f2318fe52
commit e3dd3b3522
2 changed files with 15 additions and 2 deletions
+7 -1
View File
@@ -2,7 +2,13 @@
* Dropped worthless tools
* Fixed tons of compiler warnings
* SoObjects/Contacts/SOGoContactLDAPFolder.m
([SOGoContactLDAPFolder appendObject:withBaseURL:
toREPORTResponse:]): We now check if we've got
an exception when looking up contacts and the LDAP-part
of SOGo is misconfigured and warn the admin (by adding
a log entry) about it.
2009-03-31 Francis Lachapelle <flachapelle@inverse.ca>
* UI/Scheduler/UIxCalListingActions.m ([UIxCalListingActions
+8 -1
View File
@@ -1,6 +1,6 @@
/* SOGoContactLDAPFolder.m - this file is part of SOGo
*
* Copyright (C) 2006-2008 Inverse inc.
* Copyright (C) 2006-2009 Inverse inc.
*
* Author: Wolfgang Sourdeau <wsourdeau@inverse.ca>
*
@@ -35,6 +35,7 @@
#import <NGObjWeb/SoSelectorInvocation.h>
#import <NGObjWeb/SoUser.h>
#import <NGExtensions/NSString+misc.h>
#import <NGExtensions/NSObject+Logs.h>
#import <EOControl/EOSortOrdering.h>
#import <SaxObjC/XMLNamespaces.h>
@@ -61,6 +62,12 @@
{
component = [self lookupName: name inContext: context acquire: NO];
if ([component isKindOfClass: [NSException class]])
{
[self logWithFormat: @"Object with name '%@' not found. You likely have a LDAP configuration issue.", name];
return;
}
[r appendContentString: @" <D:response>\r\n"];
[r appendContentString: @" <D:href>"];
[r appendContentString: baseURL];