merge of '833eb53a6f748d1f0f16e7ff1f05e9c33fe3bad2'

and '9e49c487691fa9cd289dc4f2323bbb118705dfc4'

Monotone-Parent: 833eb53a6f748d1f0f16e7ff1f05e9c33fe3bad2
Monotone-Parent: 9e49c487691fa9cd289dc4f2323bbb118705dfc4
Monotone-Revision: baae213f1298842f132a9ed6584f30ec04446e62

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2009-04-02T18:44:55
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Wolfgang Sourdeau
2009-04-02 18:44:55 +00:00
3 changed files with 15 additions and 23 deletions
+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];