One Star

t_LDAPInput LDAP: error code 1 - 000004DC

Hi, I am trying to extract all users from LDAP. I can get into ldap with vbscript and Active Driectory Explorer with out a user id and pwd. so I assume none needed for Talend.
I get the following error.
Exception in component tLDAPInput_1
java.lang.Exception: javax.naming.NamingException: ; remaining name ''
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.c_getAttributes(Unknown Source)
at com.sun.jndi.toolkit.ctx.ComponentDirContext.p_getAttributes(Unknown Source)
disconnected
at com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.getAttributes(Unknown Source)
at com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.getAttributes(Unknown Source)
at javax.naming.directory.InitialDirContext.getAttributes(Unknown Source)
at talenddemosjava.ldaptest_0_1.ldaptest.tLDAPInput_1Process(ldaptest.java:516)

PLease help!!!
1 REPLY
Moderator

Re: t_LDAPInput LDAP: error code 1 - 000004DC

Hi,
; remaining name ''

From your error message, I think the reason is: when add domain users, ctx does not bind the Admin user.So I think you need some modification in your LDAP at first.
Please refer to https://wiki.servicenow.com/index.php?title=LDAP_Error_Codes
Best regards
Sabrina
--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.