diff --git a/ChangeLog b/ChangeLog index 59192cfe1..62681e20d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2010-03-30 Wolfgang Sourdeau + + * SoObjects/SOGo/LDAPSource.m + (-changePasswordForLogin:oldPassword:newPassword:perr:): fixed a + typo that could potentially cause crashes. + 2010-03-29 Ludovic Marcotte SoObjects/Appointments/SOGoWebAppointmentFolder.m diff --git a/SoObjects/SOGo/LDAPSource.m b/SoObjects/SOGo/LDAPSource.m index 89a9689ee..a4409bbbd 100644 --- a/SoObjects/SOGo/LDAPSource.m +++ b/SoObjects/SOGo/LDAPSource.m @@ -511,7 +511,7 @@ static NSArray *commonSearchFields; mod = [NGLdapModification replaceModification: attr]; changes = [NSArray arrayWithObject: mod]; - perr = PolicyNoError; + *perr = PolicyNoError; if ([bindConnection bindWithMethod: @"simple" binddn: userDN @@ -850,7 +850,7 @@ static NSArray *commonSearchFields; ldapConnection = [self _ldapConnection]; qualifier = [self _qualifierForFilter: match]; attributes = [self _searchAttributes]; - + if ([_scope caseInsensitiveCompare: @"BASE"] == NSOrderedSame) entries = [ldapConnection baseSearchAtBaseDN: baseDN qualifier: qualifier