<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Difference between the tLDAPInput and the tLDAPAttributesInput in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Difference-between-the-tLDAPInput-and-the-tLDAPAttributesInput/m-p/2318353#M88707</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;Thanks for sharing your practices and related links on forum.&lt;/P&gt;
&lt;P&gt;Best regards&lt;/P&gt;
&lt;P&gt;Sabrina&lt;/P&gt;</description>
    <pubDate>Mon, 22 Jan 2018 03:39:13 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2018-01-22T03:39:13Z</dc:date>
    <item>
      <title>Difference between the tLDAPInput and the tLDAPAttributesInput</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Difference-between-the-tLDAPInput-and-the-tLDAPAttributesInput/m-p/2318352#M88706</link>
      <description>&lt;P&gt;About this subject, I found this 2012 topic: &lt;A href="https://community.qlik.com/s/feed/0D53p00007vCrMSCA0" target="_self" rel="nofollow noopener noreferrer"&gt;https://community.talend.com/t5/Archive/Difference-between-the-tLDAPInput-and-the-tLDAPAttributesInput/td-p/180762&lt;/A&gt;&lt;/P&gt; 
&lt;P&gt;Today, almost 6 years later, I have the answer to share. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;The difference is not clearly documented, but these components do basically the same thing. The only difference is that&amp;nbsp;&lt;EM&gt;tLDAPAttributesInput&lt;/EM&gt; generated code defines three new attributes in addition to the ones read from LDAP:&lt;/P&gt; 
&lt;UL&gt; 
 &lt;LI&gt;&lt;P class="p"&gt;&lt;EM&gt;mandatoryAttributes&lt;/EM&gt;: list of mandatory attributes to these classes&lt;/P&gt;&lt;/LI&gt; 
 &lt;LI&gt;&lt;P class="p"&gt;&lt;EM&gt;optionalAttributes&lt;/EM&gt;: list of optional attributes to these classes&lt;/P&gt;&lt;/LI&gt; 
 &lt;LI&gt;&lt;P class="p"&gt;&lt;EM&gt;objectAttribute&lt;/EM&gt;s: list of attributes that are essential for the analysed object.&lt;/P&gt;&lt;/LI&gt; 
&lt;/UL&gt; 
&lt;P&gt;&lt;U&gt;Attributes names are case-sensitive.&lt;/U&gt;&amp;nbsp;You&amp;nbsp;have to manually add them to your component schema.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;The "&lt;SPAN&gt;Class Definition Root" parameter is a LDAP thing: &lt;A href="https://docs.oracle.com/javase/jndi/tutorial/ldap/schema/object.html" target="_self" rel="nofollow noopener noreferrer"&gt;https://docs.oracle.com/javase/jndi/tutorial/ldap/schema/object.html&lt;/A&gt;.&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;It means "what is the root object that I should query to find attribute information?". In most situations it is&amp;nbsp;"ClassDefinition/", so just leave it as it is.&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;One may say: "But this is documented, check it out: &lt;A href="https://help.talend.com/reader/keNgJGpTPemZtK8vsdDBrA/8xoNbnSKdhYZuWuW_~z3jA" target="_self" rel="nofollow noopener noreferrer"&gt;https://help.talend.com/reader/keNgJGpTPemZtK8vsdDBrA/8xoNbnSKdhYZuWuW_~z3jA&lt;/A&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;And I answer: It isn't.&lt;/P&gt; 
&lt;P&gt;First,&amp;nbsp;&lt;U&gt;these attributes are all case-sensitive&lt;/U&gt; (the documentation states them in lower case). So you should include them in the schema&amp;nbsp;with the uppercase middle '&lt;EM&gt;A&lt;/EM&gt;' in '&lt;EM&gt;mandatoryAttributes&lt;/EM&gt;', otherwise they don't work.&lt;/P&gt; 
&lt;P&gt;Second,&amp;nbsp;even this being only a&amp;nbsp;typo,&amp;nbsp;nowhere in the documentation states this is the only difference between these components and there is no usage example of this component. I had to check the generated code to find out the differences.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Another important thing to cite is that Talend tLDAP-* built-in components use JNDI/LDAP Service Provider to connect to LDAP Server. Refer to &lt;A href="https://docs.oracle.com/javase/8/docs/technotes/guides/jndi/jndi-ldap.html" target="_self" rel="nofollow noopener noreferrer"&gt;https://docs.oracle.com/javase/8/docs/technotes/guides/jndi/jndi-ldap.html&lt;/A&gt;&amp;nbsp;when looking for errors.&lt;/P&gt;</description>
      <pubDate>Fri, 19 Jan 2018 20:24:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Difference-between-the-tLDAPInput-and-the-tLDAPAttributesInput/m-p/2318352#M88706</guid>
      <dc:creator>Diego_Queiroz</dc:creator>
      <dc:date>2018-01-19T20:24:36Z</dc:date>
    </item>
    <item>
      <title>Re: Difference between the tLDAPInput and the tLDAPAttributesInput</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Difference-between-the-tLDAPInput-and-the-tLDAPAttributesInput/m-p/2318353#M88707</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;Thanks for sharing your practices and related links on forum.&lt;/P&gt;
&lt;P&gt;Best regards&lt;/P&gt;
&lt;P&gt;Sabrina&lt;/P&gt;</description>
      <pubDate>Mon, 22 Jan 2018 03:39:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Difference-between-the-tLDAPInput-and-the-tLDAPAttributesInput/m-p/2318353#M88707</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-01-22T03:39:13Z</dc:date>
    </item>
  </channel>
</rss>

