Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik GA: Multivariate Time Series in Qlik Predict: Get Details
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

LDAP connection with spaces in DN

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,

Labels (2)
1 Reply
rmartin2
Creator II
Creator II

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,