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

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
Tony_C
Contributor
Contributor

tLdapOutput : The "/" character causes an error when included in DNs with the tLdapOutput.

Hello,

 

The "/" character causes an error when included in DNs and user and group names with the tLdapOutput.
How to keep this character in DNs?

 

Thanks for your help

Labels (2)
6 Replies
Anonymous
Not applicable

Hi,

 

   Could you please share the error log to understand the details of the issue?

 

Warm Regards,
Nikhil Thampi

Please appreciate our Talend community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved 🙂

 

Tony_C
Contributor
Contributor
Author

Hello,

 

The solution of the link that you sent me proposes to replace \ by \\\ but the problem that I have does not come from \ (back slash) but from / (slash). In the latter case, the solution does not work unfortunately.

 

Thank you for your reply

 

Tony.

Tony_C
Contributor
Contributor
Author

Hi,

 

In the tLDAPOutput object in insert mode if my dn contains the character / as the example below:

cn=ENT/AdminProd2,ou=autorizations,ou=groups  ---> I have the error: LDAP: error code 32 - No Such Object.

 

I have no error if the dn does not contain / as the example below:

cn=ENT-AdminProd2,ou=autorizations,ou=groups

 

Thanks for your help

akumar2301
Specialist II
Specialist II

"/" needs to be escaped if it is part of DN. I have no LDAP to test.

Can you please try one of below ;

cn=ENT\/AdminProd2,ou=autorizations,ou=groups

or 

cn=ENT\\2FAdminProd2,ou=autorizations,ou=groups

or

cn=ENT\\/AdminProd2,ou=autorizations,ou=groups

 

One of these should work.

Tony_C
Contributor
Contributor
Author

Hi,

 

Unfortunately, none of the solutions works :

 

    cn=ENT\\2FAdminProd2,ou=autorizations,ou=groups --> Do not cause an error but create the entry:

 

    cn=ENT2FAdminProd2,ou=autorizations,ou=groups,dc=centralesupelec,dc=fr

 

The replacement does not seem to work with the tLDAPOutput component and I do not know how to solve this problem.

 

Regards,