Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
I'm trying to connect to a LDAP server with the tLDAPConnection modulo.
Usually it works fine, I save all elements (server,port,filter...) in contexts and run the job.
But in this one I got a space in the Base DN like:
OU=Users Hospital,DC=CH,DC=intra
And I got this error:
Exception in component tLDAPConnection_1
javax.naming.NamingException: Cannot parse url: Hospital,DC=ch,DC=intra [Root exception is java.net.MalformedURLException: Invalid URI: Hospital,DC=ch,DC=intra]
I've tried everything, adding "'s before and after, putting %20 instead of the space, etc... nothing worked.
Did someone have this issue?
Thanks,
Hi !
I think somehow it's translated into an XML, and so doesn't accept spaces in their tags.
In JSON, it's a big issue ... (Because, internally, Talend translate every JSON into XML)
But without the code generated, you can't be sure.
Sincerely,