Monotone-Parent: 95c7a1c7bf37236d7e711c323e1798c779fd1f21

Monotone-Revision: 9885caef81ed03ae9c3c25ac8c9a6c0bf60db18b

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2012-02-06T13:57:44
This commit is contained in:
Wolfgang Sourdeau
2012-02-06 13:57:44 +00:00
parent 6b3dcc7dfb
commit 4239a71516
2 changed files with 8 additions and 2 deletions

View File

@@ -1,3 +1,8 @@
2012-02-06 Wolfgang Sourdeau <wsourdeau@inverse.ca>
* SoObjects/SOGo/LDAPSource.m: escape built DNs using the new
-[NSString escapedForLDAPDN] method.
2012-02-03 Francis Lachapelle <flachapelle@inverse.ca>
* UI/WebServerResources/UIxMailEditor.js (onRemoveAttachments):

View File

@@ -34,6 +34,7 @@
#import <NGLdap/NGLdapAttribute.h>
#import <NGLdap/NGLdapEntry.h>
#import <NGLdap/NGLdapModification.h>
#import <NGLdap/NSString+DN.h>
#import "NSArray+Utilities.h"
#import "NSString+Utilities.h"
@@ -572,7 +573,7 @@ andMultipleBookingsField: (NSString *) newMultipleBookingsField
}
else
userDN = [NSString stringWithFormat: @"%@=%@,%@",
IDField, _login, baseDN];
IDField, [_login escapedForLDAPDN], baseDN];
}
if (userDN)
@@ -661,7 +662,7 @@ andMultipleBookingsField: (NSString *) newMultipleBookingsField
userDN = [self _fetchUserDNForLogin: login];
else
userDN = [NSString stringWithFormat: @"%@=%@,%@",
IDField, login, baseDN];
IDField, [login escapedForLDAPDN], baseDN];
if (userDN)
{
NS_DURING