Issue #27 has been updated by Clément OUDOT.

Please do not comment closed issues, and prefer a mail on the mailing list.

You can not use both ldaps:// and TLS option, choose one method.
----------------------------------------
Bug #27: Connection on ldaps:// URI
http://tools.lsc-project.org/issues/27

Author: Clément OUDOT
Status: Closed
Priority: Normal
Assigned to: Jonathan Clarke
Category: Core
Target version: 1.1.0
Problem in version: 


Hello,

My target directory accept only secured connection, either with ldaps://, 
either with a startTLS control.

When using ldaps:// URI in dst.java.naming.provider.url, there is a java error :

javax.naming.CommunicationException: simple bind failed: localhost:389 [Root 
exception is javax.net.ssl.SSLHandshakeException: Remote host closed connection 
during handshake]
        at com.sun.jndi.ldap.LdapClient.authenticate(LdapClient.java:197)
        at com.sun.jndi.ldap.LdapCtx.connect(LdapCtx.java:2637)
        at com.sun.jndi.ldap.LdapCtx.<init>(LdapCtx.java:283)
        at com.sun.jndi.ldap.LdapCtxFactory.getUsingURL(LdapCtxFactory.java:175)
        at 
com.sun.jndi.ldap.LdapCtxFactory.getUsingURLs(LdapCtxFactory.java:193)
        at 
com.sun.jndi.ldap.LdapCtxFactory.getLdapCtxInstance(LdapCtxFactory.java:136)
        at 
com.sun.jndi.ldap.LdapCtxFactory.getInitialContext(LdapCtxFactory.java:66)
        at 
javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:667)
        at 
javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:247)
        at javax.naming.InitialContext.init(InitialContext.java:223)
        at 
javax.naming.ldap.InitialLdapContext.<init>(InitialLdapContext.java:134)
        at org.interldap.lsc.jndi.JndiServices.<init>(JndiServices.java:101)
        at 
org.interldap.lsc.jndi.JndiServices.getInstance(JndiServices.java:141)
        at 
org.interldap.lsc.jndi.JndiServices.getDstInstance(JndiServices.java:127)
        at 
org.interldap.lsc.jndi.SimpleJndiDstService.getJndiServices(SimpleJndiDstService.java:118)
        at 
org.interldap.lsc.jndi.AbstractSimpleJndiService.get(AbstractSimpleJndiService.java:111)
        at 
org.interldap.lsc.jndi.SimpleJndiDstService.getBean(SimpleJndiDstService.java:89)
        at 
org.interldap.lsc.AbstractSynchronize.synchronizeLdap2Ldap(AbstractSynchronize.java:463)
        at 
org.interldap.lsc.SimpleSynchronize.launchSyncTask(SimpleSynchronize.java:295)
        at 
org.interldap.lsc.SimpleSynchronize.launch(SimpleSynchronize.java:140)
        at org.interldap.lsc.Launcher.run(Launcher.java:103)
        at org.interldap.lsc.Launcher.main(Launcher.java:95)


Can we add a feature to support LDAPS and startTLS? Can this be added to 1.1 
roadmap?


-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://tools.lsc-project.org/my/account
_______________________________________________________________
Ldap Synchronization Connector (LSC) - http://lsc-project.org

lsc-dev mailing list
[email protected]
http://lists.lsc-project.org/listinfo/lsc-dev

Reply via email to