Problems connecting to LDAP using TLS

One Star

Problems connecting to LDAP using TLS

I want to use the tLDAPInput component to connect to our LDAP using TLS, but I am not able to achieve this.
First of all, is TLS the same as StartTLS?
When filling in all my credentials and using SSL, my connection works. But when using TLS it doesn't work and I hava to use StartTLS which is a demand of my boss.
I get the following error:
Starte Job LDAP am 14:16 13/11/2013.

connecting to socket on port 3775
Exception in component tLDAPInput_1
java.lang.Exception: javax.naming.AuthenticationNotSupportedException:
at portaldwjobs.ldap_0_1.LDAP.tLDAPInput_1Process(
at portaldwjobs.ldap_0_1.LDAP.tPostgresqlInput_1Process(
at portaldwjobs.ldap_0_1.LDAP.runJobInTOS(
at portaldwjobs.ldap_0_1.LDAP.main(
Caused by: javax.naming.AuthenticationNotSupportedException:
at com.sun.jndi.ldap.LdapCtx.mapErrorCode(Unknown Source)
at com.sun.jndi.ldap.LdapCtx.processReturnCode(Unknown Source)
at com.sun.jndi.ldap.LdapCtx.processReturnCode(Unknown Source)
at com.sun.jndi.ldap.LdapCtx.connect(Unknown Source)
at com.sun.jndi.ldap.LdapCtx.<init>(Unknown Source)
at com.sun.jndi.ldap.LdapCtxFactory.getUsingURL(Unknown Source)
at com.sun.jndi.ldap.LdapCtxFactory.getUsingURLs(Unknown Source)
at com.sun.jndi.ldap.LdapCtxFactory.getLdapCtxInstance(Unknown Source)
at com.sun.jndi.ldap.LdapCtxFactory.getInitialContext(Unknown Source)
at javax.naming.spi.NamingManager.getInitialContext(Unknown Source)
at javax.naming.InitialContext.getDefaultInitCtx(Unknown Source)
at javax.naming.InitialContext.init(Unknown Source)
at javax.naming.ldap.InitialLdapContext.<init>(Unknown Source)
at portaldwjobs.ldap_0_1.LDAP.tLDAPInput_1Process(
... 3 more
Job LDAP endet am 14:16 13/11/2013.
Can anybody tell me what my mistake is?
Community Manager

Re: Problems connecting to LDAP using TLS

Hi Nadia
I see you have resolved the problem by customizing Java code on tJava/tJavaFlex component in another topic. You are appreciate if you can share your solution with the Java code in forum, it will be helpful for others who might get the same problem.
Talend | Data Agility for Modern Business