Monotone-Parent: a50a00c29b39452223260cb5d3ac233446726285

Monotone-Revision: e789f702b24bdc52b2a34ab4a58f4a2f26371610

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2010-03-16T13:38:28
Monotone-Branch: ca.inverse.sogo
maint-2.0.2
Wolfgang Sourdeau 2010-03-16 13:38:28 +00:00
parent f9d1fda833
commit bc693c868f
1 changed files with 3 additions and 3 deletions

View File

@ -110,7 +110,7 @@ Index: sope-ldap/NGLdap/NGLdapConnection.m
+ [self logWithFormat: @"bind - ldap_parse_passwordpolicy call failed"]; + [self logWithFormat: @"bind - ldap_parse_passwordpolicy call failed"];
+ } + }
+ else + else
+ [self logWithFormat: @"bind - ldap_control_find call failed"]; + [self logWithFormat: @"bind - ldap_find_control call failed"];
+ +
+ ldap_controls_free(ctrls); + ldap_controls_free(ctrls);
+ } + }
@ -257,7 +257,7 @@ Index: sope-ldap/NGLdap/NGLdapConnection.m
+ return NO; + return NO;
+ } + }
+ +
+ ctrl = ldap_control_find(LDAP_CONTROL_PASSWORDPOLICYRESPONSE, ctrls, NULL); + ctrl = ldap_find_control(LDAP_CONTROL_PASSWORDPOLICYRESPONSE, ctrls);
+ +
+ if (ctrl) + if (ctrl)
+ { + {
@ -284,7 +284,7 @@ Index: sope-ldap/NGLdap/NGLdapConnection.m
+ // Ending up here doesn't mean that things failed. It could simply be caused by the + // Ending up here doesn't mean that things failed. It could simply be caused by the
+ // fact that the password change was a success but no policy control object + // fact that the password change was a success but no policy control object
+ // could be found. + // could be found.
+ [self logWithFormat: @"change password - ldap_control_find call failed"]; + [self logWithFormat: @"change password - ldap_find_control call failed"];
+ } + }
+ +
+ ber_memfree(text); + ber_memfree(text);