<?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>question Re: Ranger usersync don't sync ldap groups with memberUid in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ranger-usersync-don-t-sync-ldap-groups-with-memberUid/m-p/120082#M26442</link>
    <description>&lt;P style="margin-left: 40px;"&gt;&lt;A rel="user" href="https://community.cloudera.com/users/537/spolavarapu.html" nodeid="537"&gt;@spolavarapu&lt;/A&gt; Thanks for your answer, that is exactly what I was looking for. So I wait for the next release, it will be soon?&lt;/P&gt;&lt;P style="margin-left: 40px;"&gt;Meanwhile, I would try to use File based Sync. &lt;/P&gt;</description>
    <pubDate>Fri, 29 Apr 2016 14:21:09 GMT</pubDate>
    <dc:creator>blanca_sanz</dc:creator>
    <dc:date>2016-04-29T14:21:09Z</dc:date>
    <item>
      <title>Ranger usersync don't sync ldap groups with memberUid</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ranger-usersync-don-t-sync-ldap-groups-with-memberUid/m-p/120078#M26438</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;First of all, sorry for my english. When I try to sync ldap with memberUid, only sync users but don't sync groups. This is the part in the log with groups part:&lt;/P&gt;&lt;PRE&gt; groupSearchEnabled: true,  groupSearchBase: ou=Samba,dc=example,dc=es,  groupSearchScope: 2,  groupObjectClass: posixGroup,  groupSearchFilter: cn=*,  extendedGroupSearchFilter: (&amp;amp;(objectclass=posixGroup)(cn=*)(memberUid={0})),  extendedAllGroupsSearchFilter: (&amp;amp;(objectclass=posixGroup)(cn=*)),  groupMemberAttributeName: memberUid,  groupNameAttribute: cn,  groupUserMapSyncEnabled: false,  ldapReferral: ignore&lt;/PRE&gt;&lt;P&gt;The problem is that in my LDAP this is the search for groups:&lt;/P&gt;&lt;PRE&gt;slapd[8101]: conn=1034 op=6 SRCH base="ou=Samba,dc=example,dc=es" scope=2 deref=3 filter="(&amp;amp;(objectClass=posixGroup)(cn=*)(memberUid=uid=user.user,ou=Users,dc=example,dc=es))"&lt;/PRE&gt;&lt;P&gt;Allways append memberUid=&lt;STRONG&gt;uid=user.user,ou=Users,dc=example,dc=es&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;But we need memberUid=&lt;STRONG&gt;user.user&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;The following search:&lt;/P&gt;&lt;PRE&gt;ldapsearch -x -LLL -b dc=example,dc=es '(&amp;amp;(objectClass=posixGroup)(cn=*)(memberUid=uid=user.user,ou=Users,dc=example,dc=es))'&lt;/PRE&gt;&lt;P&gt;Doesn't bring any result. I need this &lt;STRONG&gt;correct search&lt;/STRONG&gt;:&lt;/P&gt;&lt;PRE&gt;ldapsearch -x -LLL -b dc=example,dc=es '(&amp;amp;(objectClass=posixGroup)(cn=*)(memberUid=user.user))'
&lt;/PRE&gt;&lt;P&gt;Other thing: with the script run.sh in the ldaptool the groups are sync correctly.&lt;/P&gt;&lt;P&gt;Please, help!! &lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Thu, 28 Apr 2016 13:31:23 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ranger-usersync-don-t-sync-ldap-groups-with-memberUid/m-p/120078#M26438</guid>
      <dc:creator>blanca_sanz</dc:creator>
      <dc:date>2016-04-28T13:31:23Z</dc:date>
    </item>
    <item>
      <title>Re: Ranger usersync don't sync ldap groups with memberUid</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ranger-usersync-don-t-sync-ldap-groups-with-memberUid/m-p/120079#M26439</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/9967/blancasanz.html" nodeid="9967"&gt;@Blanca Sanz&lt;/A&gt; As a workaround, if the groups you want to sync are associated to the users through the &lt;EM&gt;memberOf&lt;/EM&gt; or &lt;EM&gt;ismemberof&lt;/EM&gt; properties, then you can just disable Group Sync (set &lt;EM&gt;Enable Group Sync&lt;/EM&gt; to &lt;EM&gt;No&lt;/EM&gt;). That will make groups to be sync'd based on the &lt;EM&gt;User Search Filter &lt;/EM&gt;through the memberof property. For example:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;User Search Filter:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;(|(memberOf=CN=Group1,OU=Users,DC=example,DC=es)(&lt;/EM&gt;&lt;EM&gt;memberOf=CN=Group2,OU=Users,DC=example,DC=es&lt;/EM&gt;&lt;EM&gt;))&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;
&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;User Group Name Attribute:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;memberOf&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;
&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;That will sync those groups with Ranger and all associated users that are members of those groups.&lt;/P&gt;</description>
      <pubDate>Thu, 28 Apr 2016 16:42:54 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ranger-usersync-don-t-sync-ldap-groups-with-memberUid/m-p/120079#M26439</guid>
      <dc:creator>aromero</dc:creator>
      <dc:date>2016-04-28T16:42:54Z</dc:date>
    </item>
    <item>
      <title>Re: Ranger usersync don't sync ldap groups with memberUid</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ranger-usersync-don-t-sync-ldap-groups-with-memberUid/m-p/120080#M26440</link>
      <description>&lt;P&gt;Thanks for the answer, but I am using memberUid because I don't have the memberOf properties in my LDAP. It is for that reason that I'm trying to use memberUid.&lt;/P&gt;</description>
      <pubDate>Thu, 28 Apr 2016 17:47:27 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ranger-usersync-don-t-sync-ldap-groups-with-memberUid/m-p/120080#M26440</guid>
      <dc:creator>blanca_sanz</dc:creator>
      <dc:date>2016-04-28T17:47:27Z</dc:date>
    </item>
    <item>
      <title>Re: Ranger usersync don't sync ldap groups with memberUid</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ranger-usersync-don-t-sync-ldap-groups-with-memberUid/m-p/120081#M26441</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/9967/blancasanz.html" nodeid="9967"&gt;@Blanca Sanz&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Currently ranger usersync support group sync based on the user's full name. Searching LDAP groups based on user's short name (which is usually the case with memberuid attribute value) is going to be supported in upcoming releases. The corresponding apache Jira can be found at &lt;A href="https://issues.apache.org/jira/browse/RANGER-893" target="_blank"&gt;https://issues.apache.org/jira/browse/RANGER-893&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;Meanwhile the work around is to use File based Sync source.&lt;/P&gt;</description>
      <pubDate>Fri, 29 Apr 2016 00:32:28 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ranger-usersync-don-t-sync-ldap-groups-with-memberUid/m-p/120081#M26441</guid>
      <dc:creator>spolavarapu</dc:creator>
      <dc:date>2016-04-29T00:32:28Z</dc:date>
    </item>
    <item>
      <title>Re: Ranger usersync don't sync ldap groups with memberUid</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ranger-usersync-don-t-sync-ldap-groups-with-memberUid/m-p/120082#M26442</link>
      <description>&lt;P style="margin-left: 40px;"&gt;&lt;A rel="user" href="https://community.cloudera.com/users/537/spolavarapu.html" nodeid="537"&gt;@spolavarapu&lt;/A&gt; Thanks for your answer, that is exactly what I was looking for. So I wait for the next release, it will be soon?&lt;/P&gt;&lt;P style="margin-left: 40px;"&gt;Meanwhile, I would try to use File based Sync. &lt;/P&gt;</description>
      <pubDate>Fri, 29 Apr 2016 14:21:09 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ranger-usersync-don-t-sync-ldap-groups-with-memberUid/m-p/120082#M26442</guid>
      <dc:creator>blanca_sanz</dc:creator>
      <dc:date>2016-04-29T14:21:09Z</dc:date>
    </item>
  </channel>
</rss>

