<?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 AD usersync : ERROR UserGroupSync [UnixUserSyncThread] Connection refused in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ranger-AD-usersync-ERROR-UserGroupSync-UnixUserSyncThread/m-p/180199#M64856</link>
    <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/3600/kamlepoojarajendra2014.html" nodeid="3600"&gt;@Pooja Kamle&lt;/A&gt;
&lt;/P&gt;&lt;P&gt;From the posted usersync logs, it looks like the communication between ranger admin and ranger usersync is failing. Do you have https enabled for ranger admin? If so, please add the ranger admin cert to usersync trust store.&lt;/P&gt;&lt;P&gt;Usersync contacts ranger admin (database) to update the users and groups that are sync'd from AD.&lt;/P&gt;</description>
    <pubDate>Sat, 15 Jul 2017 02:36:22 GMT</pubDate>
    <dc:creator>spolavarapu</dc:creator>
    <dc:date>2017-07-15T02:36:22Z</dc:date>
    <item>
      <title>Ranger AD usersync : ERROR UserGroupSync [UnixUserSyncThread] Connection refused</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ranger-AD-usersync-ERROR-UserGroupSync-UnixUserSyncThread/m-p/180195#M64852</link>
      <description>&lt;P&gt;Hi, I am trying to do Ranger AD usersync (HDP version: 2.4.3 and Ambari version: 2.2.2.0) . When I try to do it manually from Ambari UI or pass the configuration through the blueprint, I get following error: &lt;/P&gt;&lt;P&gt; ERROR UserGroupSync [UnixUserSyncThread] - Failed to initialize UserGroup source/sink. Will retry after 3600000 milliseconds. Error details: com.sun.jersey.api.client.ClientHandlerException: java.net.ConnectException: Connection refused (Connection refused) &lt;/P&gt;&lt;P&gt; Not sure, where the problem is. Ping and telnet to the AD server is also successful.&lt;/P&gt;&lt;P&gt;Also, LDAP cert was loaded into a trustStore using following command:&lt;/P&gt;&lt;P&gt;keytool -import -trustcacerts -alias myldap1 -file mycertfile.pem -keystore /etc/pki/java/cacerts&lt;/P&gt;&lt;P&gt;Any solution please?&lt;/P&gt;&lt;P&gt; Attaching usersync.log file.&lt;A href="https://community.cloudera.com/legacyfs/online/attachments/20411-usersync.txt"&gt;usersync.txt&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Jul 2017 18:45:43 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ranger-AD-usersync-ERROR-UserGroupSync-UnixUserSyncThread/m-p/180195#M64852</guid>
      <dc:creator>kamlepooja_raje</dc:creator>
      <dc:date>2017-07-13T18:45:43Z</dc:date>
    </item>
    <item>
      <title>Re: Ranger AD usersync : ERROR UserGroupSync [UnixUserSyncThread] Connection refused</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ranger-AD-usersync-ERROR-UserGroupSync-UnixUserSyncThread/m-p/180196#M64853</link>
      <description>&lt;P&gt;can you please post the configuration that you gave in ranger usersync config ?&lt;/P&gt;&lt;P&gt;did you specify ldap/ldaps protocol and correct port while configuring usersync&lt;/P&gt;</description>
      <pubDate>Fri, 14 Jul 2017 13:34:53 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ranger-AD-usersync-ERROR-UserGroupSync-UnixUserSyncThread/m-p/180196#M64853</guid>
      <dc:creator>dsharma</dc:creator>
      <dc:date>2017-07-14T13:34:53Z</dc:date>
    </item>
    <item>
      <title>Re: Ranger AD usersync : ERROR UserGroupSync [UnixUserSyncThread] Connection refused</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ranger-AD-usersync-ERROR-UserGroupSync-UnixUserSyncThread/m-p/180197#M64854</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/505/dsharma.html" nodeid="505"&gt;@Deepak Sharma&lt;/A&gt; Thanks for your reply. Following are my usersync configs:&lt;/P&gt;&lt;P&gt;Sync Source: LDAP/AD&lt;/P&gt;&lt;P&gt;LDAP/AD URL: ldaps://&amp;lt;server&amp;gt;:636&lt;/P&gt;&lt;P&gt;Authentication method: ACTIVE_DIRECTORY&lt;/P&gt;&lt;P&gt;Username Attribute: cn&lt;/P&gt;&lt;P&gt;User Object Class: user&lt;/P&gt;&lt;P&gt;User Search Filter: cn=*&lt;/P&gt;&lt;P&gt;User Search Scope: sub&lt;/P&gt;&lt;P&gt;User Group Name Attribute: memberof&lt;/P&gt;&lt;P&gt;Group Member Attribute: member&lt;/P&gt;&lt;P&gt;Group Name Attribute: cn&lt;/P&gt;&lt;P&gt;Group Object Class: group&lt;/P&gt;&lt;P&gt;Group Search Filter: cn=*&lt;/P&gt;&lt;P&gt;Also, these configs worked with a different Ranger that I had configured before wit the same LDAP cert file. But now I don't understand what the issue is.&lt;/P&gt;</description>
      <pubDate>Fri, 14 Jul 2017 14:13:15 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ranger-AD-usersync-ERROR-UserGroupSync-UnixUserSyncThread/m-p/180197#M64854</guid>
      <dc:creator>kamlepooja_raje</dc:creator>
      <dc:date>2017-07-14T14:13:15Z</dc:date>
    </item>
    <item>
      <title>Re: Ranger AD usersync : ERROR UserGroupSync [UnixUserSyncThread] Connection refused</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ranger-AD-usersync-ERROR-UserGroupSync-UnixUserSyncThread/m-p/180198#M64855</link>
      <description>&lt;P&gt;Hi &lt;A rel="user" href="https://community.cloudera.com/users/3600/kamlepoojarajendra2014.html" nodeid="3600"&gt;@Pooja Kamle&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Can you check and post the permissions on these two files:&lt;/P&gt;&lt;PRE&gt;/usr/hdp/current/ranger-usersync/conf/ugsync.jceks
/usr/hdp/current/ranger-usersync/conf/.ugsync.jceks.crc&lt;/PRE&gt;&lt;P&gt;Also check the permissions of these two files on the other ranger that is working and verify if they are the same.&lt;/P&gt;</description>
      <pubDate>Sat, 15 Jul 2017 02:33:32 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ranger-AD-usersync-ERROR-UserGroupSync-UnixUserSyncThread/m-p/180198#M64855</guid>
      <dc:creator>rbiswas1</dc:creator>
      <dc:date>2017-07-15T02:33:32Z</dc:date>
    </item>
    <item>
      <title>Re: Ranger AD usersync : ERROR UserGroupSync [UnixUserSyncThread] Connection refused</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ranger-AD-usersync-ERROR-UserGroupSync-UnixUserSyncThread/m-p/180199#M64856</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/3600/kamlepoojarajendra2014.html" nodeid="3600"&gt;@Pooja Kamle&lt;/A&gt;
&lt;/P&gt;&lt;P&gt;From the posted usersync logs, it looks like the communication between ranger admin and ranger usersync is failing. Do you have https enabled for ranger admin? If so, please add the ranger admin cert to usersync trust store.&lt;/P&gt;&lt;P&gt;Usersync contacts ranger admin (database) to update the users and groups that are sync'd from AD.&lt;/P&gt;</description>
      <pubDate>Sat, 15 Jul 2017 02:36:22 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ranger-AD-usersync-ERROR-UserGroupSync-UnixUserSyncThread/m-p/180199#M64856</guid>
      <dc:creator>spolavarapu</dc:creator>
      <dc:date>2017-07-15T02:36:22Z</dc:date>
    </item>
    <item>
      <title>Re: Ranger AD usersync : ERROR UserGroupSync [UnixUserSyncThread] Connection refused</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ranger-AD-usersync-ERROR-UserGroupSync-UnixUserSyncThread/m-p/180200#M64857</link>
      <description>&lt;P&gt;I found the issue. My Ranger admin and ranger database reside on different nodes. I was giving the database host instead of Ranger admin host in "policymgr_external_url" property. Correcting it solved the issue. Thanks for your reply. &lt;/P&gt;</description>
      <pubDate>Mon, 17 Jul 2017 21:09:12 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ranger-AD-usersync-ERROR-UserGroupSync-UnixUserSyncThread/m-p/180200#M64857</guid>
      <dc:creator>kamlepooja_raje</dc:creator>
      <dc:date>2017-07-17T21:09:12Z</dc:date>
    </item>
  </channel>
</rss>

