[
https://issues.apache.org/jira/browse/DIRSERVER-2344?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Emmanuel Lécharny resolved DIRSERVER-2344.
------------------------------------------
Resolution: Won't Fix
If the password is stored hashed, then you simply aren't allowed to change it
using a simple {{MODIFY}} operation, as this operation will lookup for the
exact value you pass, when the stored value is hashed.
Using the extended operation is the way to go.
> Unable to change password for uid=admin, ou=system after new install of
> Directory Studio
> ----------------------------------------------------------------------------------------
>
> Key: DIRSERVER-2344
> URL: https://issues.apache.org/jira/browse/DIRSERVER-2344
> Project: Directory ApacheDS
> Issue Type: Bug
> Components: security
> Affects Versions: 2.0.0-M16
> Environment: Directory Studio running on a Mac (10.13.6) with OpenJDK
> 11
> Reporter: David E. Filip
> Priority: Minor
>
> From Directory Studio, trying to change the initial password of the
> uid=admin, ou=system user fails using the Password Editor. The error is:
>
> code 16 - noSuchAttribute] NO_SUCH_ATTRIBUTE: failed for MessageType :
> MODIFY_REQUEST
> Message ID : 26
> Modify Request
> Object : 'uid=admin,ou=system'
> Modifications :
> Modification[0]
> Operation : delete
> Modification : userPassword: 0x73 0x65 0x63 0x72 0x65 0x74
> Modification[1]
> Operation : add
> Modification : userPassword: 0x62 0x72 0x61 0x7A 0x69 0x6C
> 0x38 0x35
> : ERR_56 Cannot remove an absent value from attribute : attributetype (
> 2.5.4.35 NAME 'userPassword'
> DESC 'RFC2256/2307: password of user'
> EQUALITY octetStringMatch
> SYNTAX 1.3.6.1.4.1.1466.115.121.1.40
> USAGE userApplications )
> However, I am able to successfully change the password using Extended
> Operations => Password Modify ...
> Also, after I have updated the password once with Password Modify, the
> Password Editor then works as expected.
> I have experienced this trying to change the original 'secret' password both
> on an ApacheDS server created within Studio (Version: 2.0.0.v20210213-M16),
> and using Studio connected to a remote ApacheDS server with the latest build
> (AM26-2021-04-05).
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]