You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by "sumit gupta (JIRA)" <ji...@apache.org> on 2016/10/27 12:19:58 UTC

[jira] [Comment Edited] (DIRSERVER-2170) ApacheDS Migration from M19 to M23 with data and config

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

sumit gupta edited comment on DIRSERVER-2170 at 10/27/16 12:18 PM:
-------------------------------------------------------------------

Hi ,

I have installed M23 version on Linux and trying to import config.ldif from window Apache studio ( ApacheDirectoryStudio-win32-x86_64-2.0.0-M11 Dev version ) i am getting below error . Please suggest.

{noformat}
#!RESULT OK
#!CONNECTION ldap://IP:10389
#!DATE 2016-10-27T17:14:29.918
dn: ou=authenticators,ads-interceptorId=authenticationInterceptor,ou=interce
 ptors,ads-directoryServiceId=default,ou=config
ou: authenticators
objectclass: top
objectclass: organizationalUnit

#!RESULT ERROR
#!CONNECTION ldap://IP:10389
#!DATE 2016-10-27T17:14:30.215
#!ERROR [LDAP: error code 65 - OBJECT_CLASS_VIOLATION: failed for MessageType : ADD_REQUEST Message ID : 40     Add Request : Entry     dn[n]: ads-authenticatorid=anonymousauthenticator,ou=authenticators,ads-interceptorId=authenticationInterceptor,ou=interceptors,ads-directoryServiceId=default,ou=config     objectclass: top     objectclass: ads-base     ads-enabled: TRUE     ads-baseDn:      ads-authenticatorClass: org.apache.directory.server.core.authn.AnonymousAuthenticator     ads-authenticatorid: anonymousauthenticator : ERR_60 Entry ads-authenticatorid=anonymousauthenticator,ou=authenticators,ads-interceptorId=authenticationInterceptor,ou=interceptors,ads-directoryServiceId=default,ou=config does not contain a STRUCTURAL ObjectClass]
dn: ads-authenticatorid=anonymousauthenticator,ou=authenticators,ads-interce
 ptorId=authenticationInterceptor,ou=interceptors,ads-directoryServiceId=def
 ault,ou=config
ads-authenticatorid: anonymousauthenticator
objectclass: top
objectclass: ads-base
objectClass: ads-authenticator
objectClass: ads-authenticatorImpl
ads-authenticatorClass: org.apache.directory.server.core.authn.AnonymousAuth
 enticator
ads-baseDn: 
ads-enabled: TRUE
{noformat}


was (Author: sumit.gupta@hcentive.com):
Hi ,

I have installed M23 version on Linux and trying to import config.ldif from window Apache studio ( ApacheDirectoryStudio-win32-x86_64-2.0.0-M11 Dev version ) i am getting below error . Please suggest.

{noformat}
#!RESULT OK
#!CONNECTION ldap://10.10.3.49:10389
#!DATE 2016-10-27T17:14:29.918
dn: ou=authenticators,ads-interceptorId=authenticationInterceptor,ou=interce
 ptors,ads-directoryServiceId=default,ou=config
ou: authenticators
objectclass: top
objectclass: organizationalUnit

#!RESULT ERROR
#!CONNECTION ldap://10.10.3.49:10389
#!DATE 2016-10-27T17:14:30.215
#!ERROR [LDAP: error code 65 - OBJECT_CLASS_VIOLATION: failed for MessageType : ADD_REQUEST Message ID : 40     Add Request : Entry     dn[n]: ads-authenticatorid=anonymousauthenticator,ou=authenticators,ads-interceptorId=authenticationInterceptor,ou=interceptors,ads-directoryServiceId=default,ou=config     objectclass: top     objectclass: ads-base     ads-enabled: TRUE     ads-baseDn:      ads-authenticatorClass: org.apache.directory.server.core.authn.AnonymousAuthenticator     ads-authenticatorid: anonymousauthenticator : ERR_60 Entry ads-authenticatorid=anonymousauthenticator,ou=authenticators,ads-interceptorId=authenticationInterceptor,ou=interceptors,ads-directoryServiceId=default,ou=config does not contain a STRUCTURAL ObjectClass]
dn: ads-authenticatorid=anonymousauthenticator,ou=authenticators,ads-interce
 ptorId=authenticationInterceptor,ou=interceptors,ads-directoryServiceId=def
 ault,ou=config
ads-authenticatorid: anonymousauthenticator
objectclass: top
objectclass: ads-base
objectClass: ads-authenticator
objectClass: ads-authenticatorImpl
ads-authenticatorClass: org.apache.directory.server.core.authn.AnonymousAuth
 enticator
ads-baseDn: 
ads-enabled: TRUE
{noformat}

> ApacheDS Migration from M19 to M23 with data and config
> -------------------------------------------------------
>
>                 Key: DIRSERVER-2170
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-2170
>             Project: Directory ApacheDS
>          Issue Type: Bug
>            Reporter: sumit gupta
>         Attachments: apacheds.log, screenshot-1.png
>
>
> I am upgrading apache DS from M19 to M23 with data and configuration. 
> Please suggest whether it’s possible or not ?.
> If possible please tell me steps to do.
> I have attached my log file with this ticket.
> I have followed below steps but no lock.
> 1.	I have install the tar.gz file on Linux system.
> 2.	Then I have merge the my M19 config.ldif with M23 config.ldif changes.
> 3.	I have put my data folder inside partitions namely hcentive from M19  to M23 inside partitions folder.
> 4.  I have set my pwdpolicy file path in apacheds.sh file like 
> JAVA_OPTS="-Dconfig=/opt/idm/resources/pwdPolicy.properties"
> 5.  Placed my custom jar inside lib folder.
> 6. Placed  my cn=hcentiveiam.ldif inside schema/ou=schema folder
> 7. Started the apache ds server.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)