<?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: use keytab for ambari rest api in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/use-keytab-for-ambari-rest-api/m-p/217760#M81896</link>
    <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/45207/sudheerpc2.html" nodeid="45207"&gt;@Sudheer Velagapudi&lt;/A&gt;&lt;/P&gt;&lt;P&gt;What version of Ambari are you using and did you turn on the Kerberos authentication feature of Ambari?&lt;/P&gt;&lt;P&gt;Have you looked at the Ambari server log (/var/log/ambari-server/ambari-server.log) to see if there is anything interesting (and related) in there?&lt;/P&gt;&lt;P&gt;Did you successfully kinit using a principal from a trusted KDC before issuing the curl command?&lt;/P&gt;</description>
    <pubDate>Thu, 09 Aug 2018 23:09:01 GMT</pubDate>
    <dc:creator>rlevas</dc:creator>
    <dc:date>2018-08-09T23:09:01Z</dc:date>
    <item>
      <title>use keytab for ambari rest api</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/use-keytab-for-ambari-rest-api/m-p/217759#M81895</link>
      <description>&lt;P&gt;I am trying to sync group to ambari server using keytab through curl command.&lt;/P&gt;&lt;P&gt;I am using below command:&lt;/P&gt;&lt;PRE&gt;curl -i -k --negotiate -u : -H 'X-Requested-By: ambari' -X POST -d '[{"Event": {"specs":[{"principal_type":"groups","sync_type":"specific","names": "group_name"}]}}]' &lt;A href="https://&amp;lt;host&amp;gt;:8442/api/v1/ldap_sync_events" target="_blank"&gt;https://&amp;lt;host&amp;gt;:8442/api/v1/ldap_sync_events&lt;/A&gt;&lt;/PRE&gt;&lt;P&gt;Error:&lt;/P&gt;&lt;PRE&gt;HTTP/1.1 403 Missing authentication token Strict-Transport-Security: max-age=31536000 X-Frame-Options: DENY X-XSS-Protection: 1; mode=block X-Content-Type-Options: nosniff Pragma: no-cache Content-Type: text/plain;charset=ISO-8859-1 Content-Length: 64&lt;BR /&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 09 Aug 2018 22:40:03 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/use-keytab-for-ambari-rest-api/m-p/217759#M81895</guid>
      <dc:creator>itsssudheer</dc:creator>
      <dc:date>2018-08-09T22:40:03Z</dc:date>
    </item>
    <item>
      <title>Re: use keytab for ambari rest api</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/use-keytab-for-ambari-rest-api/m-p/217760#M81896</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/45207/sudheerpc2.html" nodeid="45207"&gt;@Sudheer Velagapudi&lt;/A&gt;&lt;/P&gt;&lt;P&gt;What version of Ambari are you using and did you turn on the Kerberos authentication feature of Ambari?&lt;/P&gt;&lt;P&gt;Have you looked at the Ambari server log (/var/log/ambari-server/ambari-server.log) to see if there is anything interesting (and related) in there?&lt;/P&gt;&lt;P&gt;Did you successfully kinit using a principal from a trusted KDC before issuing the curl command?&lt;/P&gt;</description>
      <pubDate>Thu, 09 Aug 2018 23:09:01 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/use-keytab-for-ambari-rest-api/m-p/217760#M81896</guid>
      <dc:creator>rlevas</dc:creator>
      <dc:date>2018-08-09T23:09:01Z</dc:date>
    </item>
    <item>
      <title>Re: use keytab for ambari rest api</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/use-keytab-for-ambari-rest-api/m-p/217761#M81897</link>
      <description>&lt;P&gt;Enabling kerberos authentication for the ambari resolved the issue. &lt;/P&gt;&lt;P&gt;Thank you &lt;A rel="user" href="https://community.cloudera.com/users/322/rlevas.html" nodeid="322"&gt;@Robert Levas&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 09 Aug 2018 23:57:04 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/use-keytab-for-ambari-rest-api/m-p/217761#M81897</guid>
      <dc:creator>itsssudheer</dc:creator>
      <dc:date>2018-08-09T23:57:04Z</dc:date>
    </item>
  </channel>
</rss>

