[
https://issues.apache.org/jira/browse/DIRSERVER-2344?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17863374#comment-17863374
]
Ashok Raj Kumar commented on DIRSERVER-2344:
--------------------------------------------
ENV:
Ubuntu: 24.04 LTS
RedHat & Adoptium OpenJDK: 11
Apache Dir Server: 2.0 AM27
Apache Dir Studi: 2.0 M17
Encountered the same issue still as in below error, any workaround/fix in
changing the admin password?
Thanks,
Ashok
Error while executing LDIF
- [LDAP result code 16 - noSuchAttribute] NO_SUCH_ATTRIBUTE: failed for
MessageType : MODIFY_REQUEST
org.apache.directory.studio.connection.core.io.StudioLdapException: [LDAP
result code 16 - noSuchAttribute] NO_SUCH_ATTRIBUTE: failed for MessageType :
MODIFY_REQUEST
Message ID : 41
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: 0x76 0x69 0x6B 0x69 0x40 0x30 0x37
0x38 0x39
: 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 )
at
org.apache.directory.studio.connection.core.io.api.DirectoryApiConnectionWrapper.toStudioLdapException(DirectoryApiConnectionWrapper.java:1350)
at
org.apache.directory.studio.connection.core.io.api.DirectoryApiConnectionWrapper.access$2(DirectoryApiConnectionWrapper.java:1342)
at
org.apache.directory.studio.connection.core.io.api.DirectoryApiConnectionWrapper$4.run(DirectoryApiConnectionWrapper.java:754)
at
org.apache.directory.studio.connection.core.io.api.DirectoryApiConnectionWrapper.runAndMonitor(DirectoryApiConnectionWrapper.java:1261)
at
org.apache.directory.studio.connection.core.io.api.DirectoryApiConnectionWrapper.checkConnectionAndRunAndMonitor(DirectoryApiConnectionWrapper.java:1209)
at
org.apache.directory.studio.connection.core.io.api.DirectoryApiConnectionWrapper.modifyEntry(DirectoryApiConnectionWrapper.java:766)
at
org.apache.directory.studio.ldapbrowser.core.jobs.ImportLdifRunnable.importLdifRecord(ImportLdifRunnable.java:503)
at
org.apache.directory.studio.ldapbrowser.core.jobs.ImportLdifRunnable.importLdif(ImportLdifRunnable.java:272)
at
org.apache.directory.studio.ldapbrowser.core.jobs.ExecuteLdifRunnable.executeLdif(ExecuteLdifRunnable.java:157)
at
org.apache.directory.studio.ldapbrowser.core.jobs.ExecuteLdifRunnable.run(ExecuteLdifRunnable.java:123)
at
org.apache.directory.studio.ldapbrowser.core.jobs.UpdateEntryRunnable.run(UpdateEntryRunnable.java:59)
at
org.apache.directory.studio.connection.ui.RunnableContextRunner$1.run(RunnableContextRunner.java:129)
at
org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:122)
Caused by:
org.apache.directory.api.ldap.model.exception.LdapNoSuchAttributeException:
NO_SUCH_ATTRIBUTE: failed for MessageType : MODIFY_REQUEST
Message ID : 41
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: 0x76 0x69 0x6B 0x69 0x40 0x30 0x37
0x38 0x39
: 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 )
at
org.apache.directory.api.ldap.model.message.ResultCodeEnum.processResponse(ResultCodeEnum.java:2031)
at
org.apache.directory.studio.connection.core.io.api.DirectoryApiConnectionWrapper.checkResponse(DirectoryApiConnectionWrapper.java:1337)
at
org.apache.directory.studio.connection.core.io.api.DirectoryApiConnectionWrapper.access$6(DirectoryApiConnectionWrapper.java:1333)
at
org.apache.directory.studio.connection.core.io.api.DirectoryApiConnectionWrapper$4.run(DirectoryApiConnectionWrapper.java:750)
... 10 more
[LDAP result code 16 - noSuchAttribute] NO_SUCH_ATTRIBUTE: failed for
MessageType : MODIFY_REQUEST
Message ID : 41
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: 0x76 0x69 0x6B 0x69 0x40 0x30 0x37
0x38 0x39
: 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 )
> 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]