<?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: Ambari-server sync-ldap works fine but users are not mapped to groups in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Ambari-server-sync-ldap-works-fine-but-users-are-not-mapped/m-p/218260#M180161</link>
    <description>&lt;P&gt;I have below set of properties,&lt;/P&gt;&lt;P&gt;authentication.ldap.groupMembershipAttr=memberOf &lt;/P&gt;&lt;P&gt;authentication.ldap.groupNamingAttr=cn &lt;BR /&gt;authentication.ldap.groupObjectClass=group &lt;BR /&gt;authentication.ldap.userObjectClass=person &lt;BR /&gt;authentication.ldap.usernameAttribute=sAMAccountName&lt;/P&gt;&lt;P&gt;authentication.ldap.dnAttribute=dn &lt;/P&gt;</description>
    <pubDate>Fri, 18 Aug 2017 01:08:00 GMT</pubDate>
    <dc:creator>Rarjun</dc:creator>
    <dc:date>2017-08-18T01:08:00Z</dc:date>
    <item>
      <title>Ambari-server sync-ldap works fine but users are not mapped to groups</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Ambari-server-sync-ldap-works-fine-but-users-are-not-mapped/m-p/218257#M180158</link>
      <description>&lt;P&gt;I have synced Users and groups in Ambari UI using,&lt;/P&gt;&lt;PRE&gt;ambari-server sync-ldap --users /home/centos/users.txt --groups /tmp/groups.txt 
Using python /usr/bin/python Syncing with LDAP... 
Enter Ambari Admin login: admin 
Enter Ambari Admin password: 
Syncing specified users and groups... 
Completed LDAP Sync. 
Summary: 
memberships: 
removed = 0 
created = 0 
users: 
skipped = 0 
removed = 0 
updated = 0 
created = 4 
groups: 
updated = 0 
removed = 0 
created = 0 
&lt;/PRE&gt;&lt;P&gt;But users are not mapped to any group, but it does not add users to the group.&lt;/P&gt;&lt;P&gt;Which parameters should I check in ambari.properties. &lt;/P&gt;</description>
      <pubDate>Tue, 15 Aug 2017 00:55:52 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Ambari-server-sync-ldap-works-fine-but-users-are-not-mapped/m-p/218257#M180158</guid>
      <dc:creator>Rarjun</dc:creator>
      <dc:date>2017-08-15T00:55:52Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari-server sync-ldap works fine but users are not mapped to groups</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Ambari-server-sync-ldap-works-fine-but-users-are-not-mapped/m-p/218258#M180159</link>
      <description>&lt;A rel="user" href="https://community.cloudera.com/users/2384/arjunm5573.html" nodeid="2384"&gt;@arjun more&lt;/A&gt;&lt;P&gt;Are you able to sync groups similar like users? If not, please check below parameter with your LDAP team and add them as per their request:&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;authentication.ldap.groupObjectClass&lt;/TD&gt;&lt;TD&gt;[LDAP Object Class]&lt;/TD&gt;&lt;TD&gt;The object class that is used for groups. Example: groupOfUniqueNames&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;authentication.ldap.groupMembershipAttr&lt;/TD&gt;&lt;TD&gt;[LDAP attribute]&lt;/TD&gt;&lt;TD&gt;The attribute for group membership. Example: uniqueMember&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;authentication.ldap.groupNamingAttr&lt;/TD&gt;&lt;TD&gt;[LDAP attribute]&lt;/TD&gt;&lt;TD&gt;The attribute for group name.&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;Checking the ambari-server logs would help you in getting the error message. Hope this helps you.&lt;/P&gt;</description>
      <pubDate>Tue, 15 Aug 2017 08:50:32 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Ambari-server-sync-ldap-works-fine-but-users-are-not-mapped/m-p/218258#M180159</guid>
      <dc:creator>bandarusridhar1</dc:creator>
      <dc:date>2017-08-15T08:50:32Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari-server sync-ldap works fine but users are not mapped to groups</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Ambari-server-sync-ldap-works-fine-but-users-are-not-mapped/m-p/218259#M180160</link>
      <description>&lt;P&gt;What are the first 30 entries in your&lt;/P&gt;&lt;P&gt;/etc/ambari-server/conf/ambari-properties&lt;/P&gt;</description>
      <pubDate>Tue, 15 Aug 2017 12:22:24 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Ambari-server-sync-ldap-works-fine-but-users-are-not-mapped/m-p/218259#M180160</guid>
      <dc:creator>Shelton</dc:creator>
      <dc:date>2017-08-15T12:22:24Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari-server sync-ldap works fine but users are not mapped to groups</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Ambari-server-sync-ldap-works-fine-but-users-are-not-mapped/m-p/218260#M180161</link>
      <description>&lt;P&gt;I have below set of properties,&lt;/P&gt;&lt;P&gt;authentication.ldap.groupMembershipAttr=memberOf &lt;/P&gt;&lt;P&gt;authentication.ldap.groupNamingAttr=cn &lt;BR /&gt;authentication.ldap.groupObjectClass=group &lt;BR /&gt;authentication.ldap.userObjectClass=person &lt;BR /&gt;authentication.ldap.usernameAttribute=sAMAccountName&lt;/P&gt;&lt;P&gt;authentication.ldap.dnAttribute=dn &lt;/P&gt;</description>
      <pubDate>Fri, 18 Aug 2017 01:08:00 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Ambari-server-sync-ldap-works-fine-but-users-are-not-mapped/m-p/218260#M180161</guid>
      <dc:creator>Rarjun</dc:creator>
      <dc:date>2017-08-18T01:08:00Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari-server sync-ldap works fine but users are not mapped to groups</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Ambari-server-sync-ldap-works-fine-but-users-are-not-mapped/m-p/218261#M180162</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/2384/arjunm5573.html" nodeid="2384"&gt;@arjun more&lt;/A&gt;
&lt;/P&gt;&lt;P&gt;Could you please check the properties,&lt;/P&gt;&lt;P&gt;User object class* : try changing it from person to user.&lt;BR /&gt;Group member attribute* : try changing it from memberof to memberid&lt;/P&gt;&lt;P&gt;Distinguished name attribute* : try changing it from dn to distinguishedName&lt;/P&gt;&lt;P&gt;These parameters are depends on your environment LDAP. Please check the values of these once again and try to sync up.&lt;/P&gt;</description>
      <pubDate>Fri, 18 Aug 2017 01:20:46 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Ambari-server-sync-ldap-works-fine-but-users-are-not-mapped/m-p/218261#M180162</guid>
      <dc:creator>nshelke</dc:creator>
      <dc:date>2017-08-18T01:20:46Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari-server sync-ldap works fine but users are not mapped to groups</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Ambari-server-sync-ldap-works-fine-but-users-are-not-mapped/m-p/218262#M180163</link>
      <description>&lt;P&gt;Hey Nitin,&lt;/P&gt;&lt;P&gt;Changed the configs like,&lt;/P&gt;&lt;P&gt;object class=user&lt;/P&gt;&lt;P&gt;Distinguished name attribute=distinguishedName&lt;/P&gt;&lt;P&gt;Group member attribute=member&lt;/P&gt;&lt;P&gt;And re-synced users. It is working now.&lt;/P&gt;&lt;P&gt;Thanks for help.&lt;/P&gt;</description>
      <pubDate>Fri, 18 Aug 2017 01:25:08 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Ambari-server-sync-ldap-works-fine-but-users-are-not-mapped/m-p/218262#M180163</guid>
      <dc:creator>Rarjun</dc:creator>
      <dc:date>2017-08-18T01:25:08Z</dc:date>
    </item>
  </channel>
</rss>

