[ 
https://issues.apache.org/jira/browse/DIRSTUDIO-1284?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17389780#comment-17389780
 ] 

Stefan Seelmann commented on DIRSTUDIO-1284:
--------------------------------------------

Which LDAP server do you use? Googling for the error message ("Must supply 
correct old password to change to new one") reveals it's OpenLDAP and 
especially the password policy overlay, but I better ask for it.

Can you also check in the "Modification Logs" view which modify operation is 
sent in both Studio versions to the server? Does it send a combindes delete+add 
or a replace, see attached screenshot for an example:  !screenshot-1.png! 

Last not least, since Studio version M16 there is support for the "Password 
Modify Extended Operation" which provides better support for changing 
passwords: Right-click on the entry -> Extended Operations -> Password Modify...



> Error while executing LDIF - [LDAP result code 53 - unwillingToPerform] - 
> Must supply correct old password to change to new one
> -------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: DIRSTUDIO-1284
>                 URL: https://issues.apache.org/jira/browse/DIRSTUDIO-1284
>             Project: Directory Studio
>          Issue Type: Bug
>          Components: studio-ldifeditor
>    Affects Versions: 2.0.0-M17
>         Environment: Mac OS 11.4, running on a MacBook Pro (16-inch, 2019)
>            Reporter: Katie Golan
>            Priority: Major
>             Fix For: 2.0.0-M15
>
>         Attachments: Screen Shot 2021-07-06 at 9.22.13 AM.jpg, Screen Shot 
> 2021-07-28 at 3.36.39 PM.png, screenshot-1.png
>
>
> The current version of Apache Directory Studio (2.0.0.v20210717-M17) seems to 
> have a bug with password resets. I’ve confirmed that version 
> {{2.0.0.v20200411-M15}} does not have this bug.
>  # In Password Editor, the same password is entered for "Enter New Password" 
> and "Confirm New Password"
>  # When you click "OK", the following error results:
> "Error while executing LDIF
>  - [LDAP result code 53 - unwillingToPerform] Must supply correct old 
> password to change to new one"
>  
>  * I successfully reset the password for User A on version M15.
>  * After upgrading to version M17, I got the above error when attempting a 
> password reset for User A.
>  * I then uninstalled Apache, rebooted, and reinstalled version M15.
>  * After M15 reinstall, I was able to successfully reset User A's password 
> again.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@directory.apache.org
For additional commands, e-mail: dev-h...@directory.apache.org

Reply via email to