directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Edouard BAUDRY (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (DIRSERVER-1959) Certificates corruption during replication
Date Fri, 21 Feb 2014 13:11:31 GMT

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

Edouard BAUDRY commented on DIRSERVER-1959:
-------------------------------------------

But I have the same error when I try this "install" command in "trunk-with-dependencies" or
"trunk-with-dependencies/apacheds" directory

Exemple:

______________________________________________________________________________________________________
[INFO] ------------------------------------------------------------------------
[INFO] Building ApacheDS Protocol Kerberos Test 2.0.0-M16-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ apacheds-kerberos-test ---
[INFO] Deleting C:\Users\edouabau\workspace\trunk-with-dependencies\apacheds\kerberos-test\target
[INFO]
[INFO] --- maven-remote-resources-plugin:1.2.1:process (default) @ apacheds-kerberos-test
---
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ apacheds-kerberos-test
---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory C:\Users\edouabau\workspace\trunk-with-dependencies\apacheds\kerberos-test\sr
c\main\resources
[INFO] Copying 3 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ apacheds-kerberos-test ---
[INFO] No sources to compile
[INFO]
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ apacheds-kerberos-test
---
[INFO] Not copying test resources
[INFO]
[INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ apacheds-kerberos-test
---
[INFO] Not compiling test sources
[INFO]
[INFO] --- maven-surefire-plugin:2.15:test (default-test) @ apacheds-kerberos-test ---
[INFO] Tests are skipped.
[INFO]
[INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ apacheds-kerberos-test ---
[INFO] Building jar: C:\Users\edouabau\workspace\trunk-with-dependencies\apacheds\kerberos-test\target\apacheds-kerberos
-test-2.0.0-M16-SNAPSHOT.jar
[INFO]
[INFO] --- maven-site-plugin:3.3:attach-descriptor (attach-descriptor) @ apacheds-kerberos-test
---
[INFO]
[INFO] --- maven-jar-plugin:2.4:test-jar (attach-tests) @ apacheds-kerberos-test ---
[INFO] Skipping packaging of the test-jar
[INFO]
[INFO] --- tools-maven-plugin:1.4:verify-legal-files (verify-legal-files) @ apacheds-kerberos-test
---
[INFO] Checking legal files in: apacheds-kerberos-test-2.0.0-M16-SNAPSHOT.jar
[INFO]
[INFO] >>> maven-source-plugin:2.2.1:jar (attach-sources) @ apacheds-kerberos-test
>>>
[INFO]
[INFO] <<< maven-source-plugin:2.2.1:jar (attach-sources) @ apacheds-kerberos-test
<<<
[INFO]
[INFO] --- maven-source-plugin:2.2.1:jar (attach-sources) @ apacheds-kerberos-test ---
[INFO] Building jar: C:\Users\edouabau\workspace\trunk-with-dependencies\apacheds\kerberos-test\target\apacheds-kerberos
-test-2.0.0-M16-SNAPSHOT-sources.jar
[INFO]
[INFO] --- maven-install-plugin:2.4:install (default-install) @ apacheds-kerberos-test ---
[INFO] Installing C:\Users\edouabau\workspace\trunk-with-dependencies\apacheds\kerberos-test\target\apacheds-kerberos-te
st-2.0.0-M16-SNAPSHOT.jar to C:\Users\edouabau\.m2\repository\org\apache\directory\server\apacheds-kerberos-test\2.0.0-M
16-SNAPSHOT\apacheds-kerberos-test-2.0.0-M16-SNAPSHOT.jar
[INFO] Installing C:\Users\edouabau\workspace\trunk-with-dependencies\apacheds\kerberos-test\pom.xml
to C:\Users\edouaba
u\.m2\repository\org\apache\directory\server\apacheds-kerberos-test\2.0.0-M16-SNAPSHOT\apacheds-kerberos-test-2.0.0-M16-
SNAPSHOT.pom
[INFO] Installing C:\Users\edouabau\workspace\trunk-with-dependencies\apacheds\kerberos-test\target\apacheds-kerberos-te
st-2.0.0-M16-SNAPSHOT-sources.jar to C:\Users\edouabau\.m2\repository\org\apache\directory\server\apacheds-kerberos-test
\2.0.0-M16-SNAPSHOT\apacheds-kerberos-test-2.0.0-M16-SNAPSHOT-sources.jar
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building ApacheDS Server Integration 2.0.0-M16-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Apache Directory Project .......................... SUCCESS [2.060s]
[INFO] Apache Directory Checkstyle Configuration ......... SUCCESS [1.283s]
[INFO] Apache Directory JUnit Add-ons .................... SUCCESS [2.497s]
[INFO] Apache Directory LDAP API ......................... SUCCESS [1.241s]
[INFO] Apache Directory LDAP API I18n .................... SUCCESS [1.748s]
[INFO] Apache Directory LDAP API Utilities ............... SUCCESS [2.223s]
[INFO] Apache Directory API ASN.1 Parent ................. SUCCESS [0.141s]
[INFO] Apache Directory API ASN.1 API .................... SUCCESS [0.838s]
[INFO] Apache Directory API ASN.1 BER .................... SUCCESS [1.063s]
[INFO] Apache Directory LDAP API Parent .................. SUCCESS [0.135s]
[INFO] Apache Directory LDAP API Model ................... SUCCESS [14.686s]
[INFO] Apache Directory LDAP API Codec Parent ............ SUCCESS [0.145s]
[INFO] Apache Directory LDAP API Codec Core .............. SUCCESS [3.402s]
[INFO] Apache Directory LDAP API Net Parent .............. SUCCESS [0.119s]
[INFO] Apache Directory LDAP API Network MINA ............ SUCCESS [0.777s]
[INFO] Apache Directory LDAP API Extras .................. SUCCESS [0.147s]
[INFO] Apache Directory LDAP API Extras Codec API ........ SUCCESS [1.111s]
[INFO] Apache Directory LDAP API Extras Codec ............ SUCCESS [1.954s]
[INFO] Apache Directory LDAP API Codec Standalone ........ SUCCESS [0.664s]
[INFO] Apache Directory LDAP API DSML Parent ............. SUCCESS [0.132s]
[INFO] Apache Directory LDAP API DSML Parser ............. SUCCESS [2.303s]
[INFO] Apache Directory LDAP API Extras ACI .............. SUCCESS [2.151s]
[INFO] Apache Directory LDAP API Schema Parent ........... SUCCESS [0.137s]
[INFO] Apache Directory LDAP API Schema Data ............. SUCCESS [9.177s]
[INFO] Apache Directory LDAP API Client Parent ........... SUCCESS [0.177s]
[INFO] Apache Directory LDAP API Client API .............. SUCCESS [1.277s]
[INFO] Apache Directory LDAP API DSML Engine ............. SUCCESS [0.819s]
[INFO] Apache Directory LDAP API Extras Util ............. SUCCESS [0.832s]
[INFO] Apache Directory LDAP API Extras Stored Procedures  SUCCESS [0.929s]
[INFO] Apache Directory LDAP API Extras Trigger .......... SUCCESS [1.795s]
[INFO] Apache Directory LDAP API Schema Converter ........ SUCCESS [1.250s]
[INFO] Apache Directory API All .......................... SUCCESS [2.267s]
[INFO] Apache Directory LDAP API Client All .............. SUCCESS [1.937s]
[INFO] Apache Directory API Integration Tests ............ SUCCESS [0.980s]
[INFO] Apache Directory LDAP API Distribution ............ SUCCESS [0.173s]
[INFO] ApacheDS .......................................... SUCCESS [0.181s]
[INFO] ApacheDS I18n ..................................... SUCCESS [0.414s]
[INFO] ApacheDS Core Constants ........................... SUCCESS [0.665s]
[INFO] ApacheDS Core API ................................. SUCCESS [2.396s]
[INFO] ApacheDS Core Shared .............................. SUCCESS [1.342s]
[INFO] ApacheDS Interceptors ............................. SUCCESS [0.099s]
[INFO] ApacheDS AdministrativePoint Interceptor .......... SUCCESS [1.189s]
[INFO] ApacheDS Authentication Interceptor ............... SUCCESS [0.996s]
[INFO] ApacheDS Authorization Interceptor ................ SUCCESS [1.253s]
[INFO] ApacheDS ChangeLog Interceptor .................... SUCCESS [0.948s]
[INFO] ApacheDS Collective Attribute Interceptor ......... SUCCESS [1.071s]
[INFO] ApacheDS Event Interceptor ........................ SUCCESS [1.056s]
[INFO] ApacheDS Exception Interceptor .................... SUCCESS [1.453s]
[INFO] ApacheDS Journal Interceptor ...................... SUCCESS [0.638s]
[INFO] ApacheDS Normalization Interceptor ................ SUCCESS [0.817s]
[INFO] ApacheDS Operational Attribute Interceptor ........ SUCCESS [0.860s]
[INFO] ApacheDS Referral Interceptor ..................... SUCCESS [1.229s]
[INFO] ApacheDS Schema Interceptor ....................... SUCCESS [1.036s]
[INFO] ApacheDS Subtree Interceptor ...................... SUCCESS [0.765s]
[INFO] ApacheDS Triggers Interceptor ..................... SUCCESS [0.894s]
[INFO] ApacheDS Core ..................................... SUCCESS [1.480s]
[INFO] ApacheDS Core AVL ................................. SUCCESS [0.886s]
[INFO] ApacheDS Generalized (X) DBM Partition ............ SUCCESS [2.006s]
[INFO] ApacheDS LDIF Partition ........................... SUCCESS [1.402s]
[INFO] ApacheDS JDBM Partition ........................... SUCCESS [1.137s]
[INFO] ApacheDS Mavibot Partition ........................ SUCCESS [1.080s]
[INFO] ApacheDS Core Annotations ......................... SUCCESS [1.123s]
[INFO] ApacheDS Core JNDI ................................ SUCCESS [0.930s]
[INFO] ApacheDS Protocol Kerberos Codec .................. SUCCESS [4.763s]
[INFO] ApacheDS Interceptors for Kerberos ................ SUCCESS [1.169s]
[INFO] ApacheDS Protocol Dhcp ............................ SUCCESS [1.112s]
[INFO] ApacheDS Protocol Shared .......................... SUCCESS [0.864s]
[INFO] ApacheDS Protocol Dns ............................. SUCCESS [1.610s]
[INFO] ApacheDS Protocol Kerberos ........................ SUCCESS [1.741s]
[INFO] ApacheDS Protocol Ldap ............................ SUCCESS [2.229s]
[INFO] ApacheDS Protocol Ntp ............................. SUCCESS [0.847s]
[INFO] Apacheds Server Annotations ....................... SUCCESS [1.115s]
[INFO] ApacheDS Server Config ............................ SUCCESS [1.507s]
[INFO] ApacheDS Server JNDI .............................. SUCCESS [6.399s]
[INFO] ApacheDS Test Framework ........................... SUCCESS [1.039s]
[INFO] ApacheDS All ...................................... SUCCESS [2.916s]
[INFO] ApacheDS Logger Interceptor ....................... SUCCESS [1.258s]
[INFO] ApacheDS Password Hashing Interceptor ............. SUCCESS [0.748s]
[INFO] ApacheDS Core Integration ......................... SUCCESS [1.212s]
[INFO] ApacheDS Protocol Kerberos Test ................... SUCCESS [0.677s]
[INFO] ApacheDS Server Integration ....................... FAILURE [0.058s]
[INFO] ApacheDS DirectoryService-WebApp bridge ........... SKIPPED
[INFO] ApacheDS Jetty HTTP Server Integration ............ SKIPPED
[INFO] ApacheDS Service Builder .......................... SKIPPED
[INFO] Apache Directory LDAP Client API test ............. SKIPPED
[INFO] kerberos-client ................................... SKIPPED
[INFO] ApacheDS Service .................................. SKIPPED
[INFO] ApacheDS Wrapper .................................. SKIPPED
[INFO] ApacheDS Installers Maven Plugin .................. SKIPPED
[INFO] ApacheDS Installers ............................... SKIPPED
[INFO] ApacheDS Manuals .................................. SKIPPED
[INFO] ApacheDS Build With Dependencies .................. SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2:07.119s
[INFO] Finished at: Fri Feb 21 14:07:47 CET 2014
[INFO] Final Memory: 119M/434M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project apacheds-server-integ: Could not resolve dependencies
for project org.apache.d
irectory.server:apacheds-server-integ:bundle:2.0.0-M16-SNAPSHOT: Failure to find org.apache.directory.server:apacheds-ke
rberos-test:jar:tests:2.0.0-M16-SNAPSHOT in https://repository.apache.org/content/repositories/snapshots/
was cached in
the local repository, resolution will not be reattempted until the update interval of apache.snapshots
has elapsed or up
dates are forced -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following
articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <goals> -rf :apacheds-server-integ
C:\Users\edouabau\workspace\trunk-with-dependencies>

> Certificates corruption  during replication
> -------------------------------------------
>
>                 Key: DIRSERVER-1959
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-1959
>             Project: Directory ApacheDS
>          Issue Type: Bug
>    Affects Versions: 2.0.0-M15
>         Environment: Replication master/slave.
> master with Windows server 2003 R2
> slave with Windows server 2003 R2 or Windows 7
>            Reporter: Edouard BAUDRY
>            Assignee: Kiran Ayyagari
>            Priority: Critical
>              Labels: bug
>             Fix For: 2.0.0-M16
>
>
> Environment: "master/slave" LDAP replication.
> Slave configuration:
>   ads-replAliasDerefMode: never
>   ads-replAttributes: *
>   ads-replConsumerId: 1
>   ads-replProvHostName: SLAVE-DOMAIN-NAME
>   ads-replProvPort: 10389
>   ads-replrefreshinterval: 60000
>   ads-replRefreshNPersist: true
>   ads-replSearchFilter: (objectClass=*)
>   ads-replSearchScope: sub
>   ads-replSearchSizeLimit: 0
>   ads-replSearchTimeOut: 0
>   ads-replUserDn: uid=admin,ou=system
>   ads-replUserPassword: password
>   ads-searchBaseDN: dc=data,dc=serverDownload
> To reproduce this issue:
> 1/ Put a certificate in "master" LDAP as binary field in field "usercertificate"
> 2/ See with Apache Directory Studio the field "usercertificate": it's a x509v3 with all
info readable
> 3/ wait for the replication to the "slave" LDAP
> 4/ see with Apache Directory Studio the field "usercertificate": "Invalid Certificate
(2340 Bytes)" with "2340 bytes" the size of the certificate.
> After verification, all Bytes upper than 0x7F are replaced by 0xEFBFBD.
> It appears to be linked to UTF-8 encoding/decoding, but the field is a binary field.
> It's blocking as I can't use replication with this issue.
> Thanks in advance for your help



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Mime
View raw message