<?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: Kerberos authentication from windows machine? in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Kerberos-authentication-from-windows-machine/m-p/77051#M46993</link>
    <description>&lt;P&gt;By just doing the below has resolved my issue.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need to run this on windows cmd&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ksetup /addkdc &amp;lt;REALM&amp;gt; &amp;lt;KDC hostname&amp;gt;&lt;BR /&gt;ksetup /addhosttorealmmap &amp;lt;httpFS hostname&amp;gt; &amp;lt;REALM&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and set SPNEGO settings on browser&lt;/P&gt;</description>
    <pubDate>Tue, 17 Jul 2018 17:37:24 GMT</pubDate>
    <dc:creator>sparamas</dc:creator>
    <dc:date>2018-07-17T17:37:24Z</dc:date>
    <item>
      <title>Kerberos authentication from windows machine?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Kerberos-authentication-from-windows-machine/m-p/29634#M46984</link>
      <description>&lt;P&gt;Hello !&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;After some work I finished setting up Cloudera + MIT Kerberos + Windows AD.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;from linux machine, I'm able to run "kinit ben@WIN-REALM" and then access hadoop or visit namenode webadmin. Of course I did configure SPNEGO on the web browser.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;However, after logging in to my windows machine, which authenticate through windows AD, I can't access namenode&amp;nbsp;webadmin which is at http://namenode:50070.&lt;/P&gt;
&lt;P&gt;I tried running kinit from CMD but nothing changes.&lt;/P&gt;
&lt;P&gt;this is what i get when i visit namenode webadmin.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;HTTP ERROR 403&lt;/P&gt;
&lt;P&gt;Problem accessing /index.html. Reason:&lt;/P&gt;
&lt;PRE&gt;    GSSException: Defective token detected (Mechanism level: GSSHeader did not find the right tag)&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;what extra configuration do i need to do on windows to access hadoop webadmin page?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;thank you!&lt;/P&gt;
&lt;P&gt;Ben&lt;/P&gt;
&lt;HR /&gt;
&lt;P&gt;&lt;EM&gt;&lt;FONT size="2"&gt;Powered by Jetty://&lt;/FONT&gt;&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 08 Nov 2016 16:05:23 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Kerberos-authentication-from-windows-machine/m-p/29634#M46984</guid>
      <dc:creator>ben123</dc:creator>
      <dc:date>2016-11-08T16:05:23Z</dc:date>
    </item>
    <item>
      <title>Re: Kerberos authentication from windows machine?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Kerberos-authentication-from-windows-machine/m-p/32158#M46985</link>
      <description>&lt;P&gt;to answer my own question&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need to run this on windows cmd&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ksetup /addkdc &amp;lt;REALM&amp;gt; &amp;lt;KDC hostname&amp;gt;&lt;BR /&gt;ksetup /addhosttorealmmap &amp;lt;httpFS hostname&amp;gt; &amp;lt;REALM&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and set SPNEGO settings on browser&lt;/P&gt;</description>
      <pubDate>Tue, 22 Sep 2015 16:29:42 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Kerberos-authentication-from-windows-machine/m-p/32158#M46985</guid>
      <dc:creator>ben123</dc:creator>
      <dc:date>2015-09-22T16:29:42Z</dc:date>
    </item>
    <item>
      <title>Re: Kerberos authentication from windows machine?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Kerberos-authentication-from-windows-machine/m-p/40161#M46986</link>
      <description>&lt;P&gt;I tried the same, run the ksetup but didnt helped.&lt;BR /&gt;My computer is not in the AD, the KDC is dedicated to the Hadoop cluster and I try to log into the Solr Web UI.. Using curl from ANY node of the Hadoop cluster works fine, if the user has a ticket. But usiung Chrome or IE fails on Defective tokend detected.&lt;/P&gt;</description>
      <pubDate>Tue, 26 Apr 2016 08:18:06 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Kerberos-authentication-from-windows-machine/m-p/40161#M46986</guid>
      <dc:creator>Tomas79</dc:creator>
      <dc:date>2016-04-26T08:18:06Z</dc:date>
    </item>
    <item>
      <title>Re: Kerberos authentication from windows machine?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Kerberos-authentication-from-windows-machine/m-p/40183#M46987</link>
      <description>&lt;P&gt;what's the error msg after "Defective tokend detected"?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;also make sure all of your Cloudera server has correct /etc/krb5.conf file defined.&lt;/P&gt;</description>
      <pubDate>Tue, 26 Apr 2016 16:13:26 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Kerberos-authentication-from-windows-machine/m-p/40183#M46987</guid>
      <dc:creator>ben123</dc:creator>
      <dc:date>2016-04-26T16:13:26Z</dc:date>
    </item>
    <item>
      <title>Re: Kerberos authentication from windows machine?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Kerberos-authentication-from-windows-machine/m-p/49119#M46988</link>
      <description>&lt;P&gt;Same thing happened to me. Used curl on edge node without any issue.&lt;/P&gt;</description>
      <pubDate>Thu, 05 Jan 2017 22:18:49 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Kerberos-authentication-from-windows-machine/m-p/49119#M46988</guid>
      <dc:creator>zhuw.bigdata</dc:creator>
      <dc:date>2017-01-05T22:18:49Z</dc:date>
    </item>
    <item>
      <title>Re: Kerberos authentication from windows machine?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Kerberos-authentication-from-windows-machine/m-p/67915#M46989</link>
      <description>&lt;P&gt;Hi Ben,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I too have similar error from Error 403. So when i tried to add kdc using ksetup from command prompt from my windows machine.&amp;nbsp;Am getting this error&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Failed to create Kerberos key: 5 (0x5)&lt;BR /&gt;Failed to open Kerberos Key: 0x5&lt;BR /&gt;Failed /AddKdc : 0xc0000001&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 05 Jun 2018 23:11:53 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Kerberos-authentication-from-windows-machine/m-p/67915#M46989</guid>
      <dc:creator>sparamas</dc:creator>
      <dc:date>2018-06-05T23:11:53Z</dc:date>
    </item>
    <item>
      <title>Re: Kerberos authentication from windows machine?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Kerberos-authentication-from-windows-machine/m-p/68014#M46990</link>
      <description>&lt;P&gt;Now i could add the KDC to windows. It worked for me.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Sat, 09 Jun 2018 02:32:11 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Kerberos-authentication-from-windows-machine/m-p/68014#M46990</guid>
      <dc:creator>sparamas</dc:creator>
      <dc:date>2018-06-09T02:32:11Z</dc:date>
    </item>
    <item>
      <title>Re: Kerberos authentication from windows machine?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Kerberos-authentication-from-windows-machine/m-p/68018#M46991</link>
      <description>&lt;P&gt;You should have MIT client to be installed in the windows&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 09 Jun 2018 06:51:20 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Kerberos-authentication-from-windows-machine/m-p/68018#M46991</guid>
      <dc:creator>csguna</dc:creator>
      <dc:date>2018-06-09T06:51:20Z</dc:date>
    </item>
    <item>
      <title>Re: Kerberos authentication from windows machine?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Kerberos-authentication-from-windows-machine/m-p/77050#M46992</link>
      <description>&lt;P&gt;No not required, I didn't install MIT client to my widows machine.&amp;nbsp; It worked for me by adding kerberos realm name and hostname parameteres in the CMD prompt.&lt;/P&gt;</description>
      <pubDate>Tue, 17 Jul 2018 17:35:54 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Kerberos-authentication-from-windows-machine/m-p/77050#M46992</guid>
      <dc:creator>sparamas</dc:creator>
      <dc:date>2018-07-17T17:35:54Z</dc:date>
    </item>
    <item>
      <title>Re: Kerberos authentication from windows machine?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Kerberos-authentication-from-windows-machine/m-p/77051#M46993</link>
      <description>&lt;P&gt;By just doing the below has resolved my issue.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need to run this on windows cmd&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ksetup /addkdc &amp;lt;REALM&amp;gt; &amp;lt;KDC hostname&amp;gt;&lt;BR /&gt;ksetup /addhosttorealmmap &amp;lt;httpFS hostname&amp;gt; &amp;lt;REALM&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and set SPNEGO settings on browser&lt;/P&gt;</description>
      <pubDate>Tue, 17 Jul 2018 17:37:24 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Kerberos-authentication-from-windows-machine/m-p/77051#M46993</guid>
      <dc:creator>sparamas</dc:creator>
      <dc:date>2018-07-17T17:37:24Z</dc:date>
    </item>
    <item>
      <title>Re: Kerberos authentication from windows machine?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Kerberos-authentication-from-windows-machine/m-p/286716#M212602</link>
      <description>&lt;P&gt;Hey sparamas,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How did you over come the below error and successfully executed the ksetup commands:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Failed to create Kerberos key: 5 (0x5)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Failed to open Kerberos Key: 0x5&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Failed /AddKdc : 0xc0000001&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Wed, 01 Jan 2020 18:47:11 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Kerberos-authentication-from-windows-machine/m-p/286716#M212602</guid>
      <dc:creator>pavan_kumar</dc:creator>
      <dc:date>2020-01-01T18:47:11Z</dc:date>
    </item>
    <item>
      <title>Re: Kerberos authentication from windows machine?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Kerberos-authentication-from-windows-machine/m-p/290967#M215216</link>
      <description>&lt;P&gt;Could you run the administrator cmd not a normal one?&lt;/P&gt;&lt;P&gt;From your error, I think you have not enough privilege to run these commands.&lt;/P&gt;</description>
      <pubDate>Wed, 04 Mar 2020 05:30:20 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Kerberos-authentication-from-windows-machine/m-p/290967#M215216</guid>
      <dc:creator>Bosoon</dc:creator>
      <dc:date>2020-03-04T05:30:20Z</dc:date>
    </item>
  </channel>
</rss>

