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 12:45:22 GMT

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

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

Hello,

I have some troubles to compile the current trunk (with this source: https://svn.apache.org/repos/asf/directory/apacheds/trunk-with-dependencies/)

This result with a build failure:
_____________________________________________________________________________
> mvn -Dmaven.test.skip=true clean install
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building ApacheDS Server Integration 2.0.0-M16-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] ApacheDS .......................................... SUCCESS [2.369s]
[INFO] ApacheDS I18n ..................................... SUCCESS [2.564s]
[INFO] ApacheDS Core Constants ........................... SUCCESS [0.732s]
[INFO] ApacheDS Core API ................................. SUCCESS [6.246s]
[INFO] ApacheDS Core Shared .............................. SUCCESS [2.528s]
[INFO] ApacheDS Interceptors ............................. SUCCESS [0.084s]
[INFO] ApacheDS AdministrativePoint Interceptor .......... SUCCESS [1.392s]
[INFO] ApacheDS Authentication Interceptor ............... SUCCESS [1.534s]
[INFO] ApacheDS Authorization Interceptor ................ SUCCESS [1.451s]
[INFO] ApacheDS ChangeLog Interceptor .................... SUCCESS [1.631s]
[INFO] ApacheDS Collective Attribute Interceptor ......... SUCCESS [0.870s]
[INFO] ApacheDS Event Interceptor ........................ SUCCESS [1.009s]
[INFO] ApacheDS Exception Interceptor .................... SUCCESS [1.056s]
[INFO] ApacheDS Journal Interceptor ...................... SUCCESS [0.855s]
[INFO] ApacheDS Normalization Interceptor ................ SUCCESS [0.991s]
[INFO] ApacheDS Operational Attribute Interceptor ........ SUCCESS [1.173s]
[INFO] ApacheDS Referral Interceptor ..................... SUCCESS [1.348s]
[INFO] ApacheDS Schema Interceptor ....................... SUCCESS [1.469s]
[INFO] ApacheDS Subtree Interceptor ...................... SUCCESS [0.991s]
[INFO] ApacheDS Triggers Interceptor ..................... SUCCESS [1.212s]
[INFO] ApacheDS Core ..................................... SUCCESS [2.501s]
[INFO] ApacheDS Core AVL ................................. SUCCESS [1.027s]
[INFO] ApacheDS Generalized (X) DBM Partition ............ SUCCESS [1.935s]
[INFO] ApacheDS LDIF Partition ........................... SUCCESS [1.579s]
[INFO] ApacheDS JDBM Partition ........................... SUCCESS [2.101s]
[INFO] ApacheDS Mavibot Partition ........................ SUCCESS [0.960s]
[INFO] ApacheDS Core Annotations ......................... SUCCESS [1.279s]
[INFO] ApacheDS Core JNDI ................................ SUCCESS [1.772s]
[INFO] ApacheDS Protocol Kerberos Codec .................. SUCCESS [8.366s]
[INFO] ApacheDS Interceptors for Kerberos ................ SUCCESS [1.859s]
[INFO] ApacheDS Protocol Dhcp ............................ SUCCESS [2.850s]
[INFO] ApacheDS Protocol Shared .......................... SUCCESS [3.023s]
[INFO] ApacheDS Protocol Dns ............................. SUCCESS [5.739s]
[INFO] ApacheDS Protocol Kerberos ........................ SUCCESS [1.772s]
[INFO] ApacheDS Protocol Ldap ............................ SUCCESS [3.695s]
[INFO] ApacheDS Protocol Ntp ............................. SUCCESS [1.965s]
[INFO] Apacheds Server Annotations ....................... SUCCESS [1.385s]
[INFO] ApacheDS Server Config ............................ SUCCESS [1.675s]
[INFO] ApacheDS Server JNDI .............................. SUCCESS [1.560s]
[INFO] ApacheDS Test Framework ........................... SUCCESS [1.350s]
[INFO] ApacheDS All ...................................... SUCCESS [2.906s]
[INFO] ApacheDS Logger Interceptor ....................... SUCCESS [2.165s]
[INFO] ApacheDS Password Hashing Interceptor ............. SUCCESS [1.647s]
[INFO] ApacheDS Core Integration ......................... SUCCESS [1.774s]
[INFO] ApacheDS Protocol Kerberos Test ................... SUCCESS [0.731s]
[INFO] ApacheDS Server Integration ....................... FAILURE [0.081s]
[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] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1:31.844s
[INFO] Finished at: Fri Feb 21 13:33:05 CET 2014
[INFO] Final Memory: 88M/374M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project apacheds-server-integ: Could not resolve dependencies
for project org.apache.directory.server:apacheds-server-integ:bundle:2.0.0-M16-SNAPSHOT: Failure
to find rg.apache.directory.server:apacheds-kerberos-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 updates 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
_____________________________________________________________________________

Maybe apacheds-kerberos-test:jar:tests:2.0.0-M16-SNAPSHOT is not present in dependencies server?
I'm following the procedure her: http://directory.apache.org/apacheds/advanced-ug/0.2-building-trunks.html#getting-the-code

If you new or other solution to build a package with this correction, or even just have update
jar files?

Thanks in advance


> 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