[jira] [Commented] (DIRSERVER-2266) we found some errors when upgrading apacheds from M20 to AM25

2024-07-07 Thread Ashok Raj Kumar (Jira)


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

Ashok Raj Kumar commented on DIRSERVER-2266:


still the error persists:

jvm 1    | [04:49:43] WARN [org.apache.directory.api.ldap.model.entry.Value] - 
MSG_13202_AT_IS_NULL ()

Env:

Ubuntu 24.04 LTS

ApacheDS: 2.0.AM27

> we found some errors when upgrading apacheds from M20 to AM25 
> --
>
> Key: DIRSERVER-2266
> URL: https://issues.apache.org/jira/browse/DIRSERVER-2266
> Project: Directory ApacheDS
>  Issue Type: Bug
>  Components: upgrade
>Affects Versions: 2.0.0.AM25
>Reporter: cokuehuang
>Priority: Major
> Attachments: apacheds.log, department.ldif, wrapper.log
>
>
> We upgrade apacheds from M20 to AM25, when first start apacheds service,we 
> found this in apavheds.log: WARN 
> [org.apache.directory.api.ldap.model.entry.Value] - MSG_13202_AT_IS_NULL (), 
> but the service started successfully.Then ,we import an ldif file, the result 
> is success and we can see the data by ApacheDirectoryStudio,but when restart 
> apacheds service ,it started failed, and the apacheds.log is:ERROR 
> [org.apache.directory.api.ldap.model.entry.DefaultAttribute] - 
> ERR_13215_VALUE_EXCEPT_STRING The value is expected to be a String
> ERROR_16009_LDIF_LOAD_FAIL failed to load schema LDIF file cn=department.ldif
> How to solve this problem? And is there any solution to migrade data from old 
> apavheds to AM25? 
>  
>  
>  
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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



[jira] [Comment Edited] (DIRSERVER-2344) Unable to change password for uid=admin, ou=system after new install of Directory Studio

2024-07-05 Thread Ashok Raj Kumar (Jira)


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

Ashok Raj Kumar edited comment on DIRSERVER-2344 at 7/5/24 4:17 PM:


 

ENV:

Ubuntu: 24.04 LTS

RedHat & Adoptium OpenJDK: 11

Apache Dir Server: 2.0 AM27 64 bit

Apache Dir Studi: 2.0 M17 64 bit

 

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'
D

[jira] [Commented] (DIRSERVER-2344) Unable to change password for uid=admin, ou=system after new install of Directory Studio

2024-07-05 Thread Ashok Raj Kumar (Jira)


[ 
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 octetStringMatc