<?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: LDAPOutput to remove user from groups in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/LDAPOutput-to-remove-user-from-groups/m-p/2338873#M107071</link>
    <description>Hi lkv 
&lt;BR /&gt;Maybe you can try to iterate each&amp;nbsp; 
&lt;FONT size="2"&gt;&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;groupmembership&lt;/FONT&gt;&lt;/FONT&gt; 
&lt;FONT size="2"&gt;&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;&amp;nbsp;and delete it one by one, because it works if there is only one groupmembership for a user.&lt;/FONT&gt;&lt;/FONT&gt; 
&lt;BR /&gt; 
&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;&lt;FONT size="2"&gt;Best regards&lt;/FONT&gt;&lt;/FONT&gt; 
&lt;BR /&gt; 
&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;&lt;FONT size="2"&gt;Shong&lt;/FONT&gt;&lt;/FONT&gt;</description>
    <pubDate>Mon, 31 Aug 2015 08:09:52 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2015-08-31T08:09:52Z</dc:date>
    <item>
      <title>LDAPOutput to remove user from groups</title>
      <link>https://community.qlik.com/t5/Talend-Studio/LDAPOutput-to-remove-user-from-groups/m-p/2338872#M107070</link>
      <description>I am trying to figure out if there is any automated way to handle this usecase: 
&lt;BR /&gt;I am performing LDAP query and getting the user and their groupmembership from AD using LDAPInput component 
&lt;BR /&gt;LDAPInput components 
&lt;BR /&gt;schema 
&lt;BR /&gt;----------- 
&lt;BR /&gt;dn 
&lt;BR /&gt;memberOf 
&lt;BR /&gt;Then i am doing the tmap to switch as below 
&lt;BR /&gt; 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MB1h.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/135997iC782DE14978412E0/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MB1h.png" alt="0683p000009MB1h.png" /&gt;&lt;/span&gt; 
&lt;BR /&gt;dn&amp;nbsp; --&amp;gt;member 
&lt;BR /&gt;memberOf --&amp;gt; dn 
&lt;BR /&gt;why i am switching it, because AD is not allowing to remove groupmembership from user (using apache studio), so trying to remove in the reverse way 
&lt;BR /&gt;Then when i use the LDAPOutPut component. Below is the configuration 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MB6S.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/131484iBB744CC6C509CF4C/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MB6S.png" alt="0683p000009MB6S.png" /&gt;&lt;/span&gt; 
&lt;BR /&gt;Everything&amp;nbsp; works fine when we have one groupmembership for a user 
&lt;BR /&gt;But lets take an example 
&lt;BR /&gt;If the user has 2 or more groupmembership, then It is failing with below error 
&lt;BR /&gt; 
&lt;BR /&gt; 
&lt;FONT color="#ff3333"&gt;&lt;I&gt; connecting to socket on port 3349&lt;BR /&gt; connected&lt;BR /&gt;dn&amp;nbsp;&amp;nbsp;&amp;nbsp; memberOf&lt;BR /&gt; disconnected&lt;BR /&gt;Job Termination_Group_Handling ended at 16:25 27/07/2015. &lt;/I&gt;&lt;/FONT&gt; 
&lt;BR /&gt; 
&lt;BR /&gt;I think i know why i am getting the error because the DN is kind of multivalued attribute now after you perform tmap 
&lt;BR /&gt; 
&lt;BR /&gt;Is there any better way to remove user from group ? Any help is appreciated here.</description>
      <pubDate>Mon, 27 Jul 2015 23:45:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/LDAPOutput-to-remove-user-from-groups/m-p/2338872#M107070</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-07-27T23:45:25Z</dc:date>
    </item>
    <item>
      <title>Re: LDAPOutput to remove user from groups</title>
      <link>https://community.qlik.com/t5/Talend-Studio/LDAPOutput-to-remove-user-from-groups/m-p/2338873#M107071</link>
      <description>Hi lkv 
&lt;BR /&gt;Maybe you can try to iterate each&amp;nbsp; 
&lt;FONT size="2"&gt;&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;groupmembership&lt;/FONT&gt;&lt;/FONT&gt; 
&lt;FONT size="2"&gt;&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;&amp;nbsp;and delete it one by one, because it works if there is only one groupmembership for a user.&lt;/FONT&gt;&lt;/FONT&gt; 
&lt;BR /&gt; 
&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;&lt;FONT size="2"&gt;Best regards&lt;/FONT&gt;&lt;/FONT&gt; 
&lt;BR /&gt; 
&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;&lt;FONT size="2"&gt;Shong&lt;/FONT&gt;&lt;/FONT&gt;</description>
      <pubDate>Mon, 31 Aug 2015 08:09:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/LDAPOutput-to-remove-user-from-groups/m-p/2338873#M107071</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-08-31T08:09:52Z</dc:date>
    </item>
  </channel>
</rss>

