<?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 MacOS Monterey to access Hadoop Web UI post cluster Kerberization in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Kerberos-authentication-from-MacOS-Monterey-to-access-Hadoop/m-p/371804#M241090</link>
    <description>&lt;P&gt;&lt;SPAN&gt;Hi&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/95503" target="_blank"&gt;@steven-matison&lt;/A&gt;&lt;/P&gt;&lt;P&gt;The issue got fixed after making below 2 changes in /etc/krb5.conf file&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. Issue was a include line in my /etc/krb5.conf file which was not valid.&lt;/P&gt;&lt;P&gt;Removed below from /etc/krb5.conf&lt;BR /&gt;"includedir /etc/krb5.conf.d/"&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2.&amp;nbsp;On macOS the default client does not fall back to TCP. In krb5.conf prefix kdc value with tcp/ to force the client to use TCP if your corporate network blocks UDP.&lt;BR /&gt;kdc = tcp/kdc.example.com:88&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Banshi.&lt;/P&gt;</description>
    <pubDate>Wed, 31 May 2023 02:29:48 GMT</pubDate>
    <dc:creator>banshidhar_saho</dc:creator>
    <dc:date>2023-05-31T02:29:48Z</dc:date>
    <item>
      <title>Kerberos authentication from MacOS Monterey to access Hadoop Web UI post cluster Kerberization</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Kerberos-authentication-from-MacOS-Monterey-to-access-Hadoop/m-p/371710#M241064</link>
      <description>&lt;P&gt;Hi Team,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to setup kerberos client in my Mac Laptop having&amp;nbsp;MacOS Monterey (version 12.6.5). I have put the krb5.conf file at below paths.&lt;BR /&gt;/etc/krb5.conf&lt;BR /&gt;/Library/Preferences/edu.mit.kerberos&lt;/P&gt;&lt;P&gt;But when I try to run kinit, i get gelow error.&lt;BR /&gt;--&lt;BR /&gt;kinit -kt /Users/banshidhar_sahoo/Desktop/POC_KEYTAB/test.headless.keytab test@EXAMPLE.COM&lt;BR /&gt;kinit: krb5_get_init_creds: unable to reach any KDC in realm EXAMPLE.COM, tried 0 KDCs&lt;BR /&gt;--&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have also set the ENV Variable as below:&lt;BR /&gt;KRB5_CONFIG=/etc/krb5.conf&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But getting same error while doing kinit.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you please suggest how to point to krb5.conf so that it can reach out to the correct kdc server.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;BR /&gt;Banshi.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 30 May 2023 10:48:32 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Kerberos-authentication-from-MacOS-Monterey-to-access-Hadoop/m-p/371710#M241064</guid>
      <dc:creator>banshidhar_saho</dc:creator>
      <dc:date>2023-05-30T10:48:32Z</dc:date>
    </item>
    <item>
      <title>Re: Kerberos authentication from MacOS Monterey to access Hadoop Web UI post cluster Kerberization</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Kerberos-authentication-from-MacOS-Monterey-to-access-Hadoop/m-p/371720#M241065</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/28293"&gt;@banshidhar_saho&lt;/a&gt;&amp;nbsp;I am assuming you are not using&amp;nbsp;@EXAMPLE.COM.&amp;nbsp; &amp;nbsp;Have you confirmed that your client (mac os) has network and dns connectivity with the KDC Host?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There's a few things you must do to configure it properly:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Ensure the Kerberos client libraries are installed on that host&amp;nbsp;&lt;/LI&gt;&lt;LI&gt;Your on-prem krb5.conf file must be copied to the client host.&lt;UL&gt;&lt;LI&gt;The sections [realms] and [domain_realm] are especially important to solve your issue.&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;Ensure that the hostname of your KDC can be resolved from the client (you can test it with nslookup and/or ping). This must work correctly for Kerberos to work. If there's no integrated DNS you will have to add entries to your /etc/hosts file to ensure the resolution is correct.&lt;/LI&gt;&lt;LI&gt;Ensure that any firewalls are configured correctly to open ports between your application and your on-prem environment:&lt;UL&gt;&lt;LI&gt;Open all the ports required for the client to communicate with the KDC (typically, ports 88 UDP and 88 TCP)&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/UL&gt;</description>
      <pubDate>Tue, 30 May 2023 12:25:06 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Kerberos-authentication-from-MacOS-Monterey-to-access-Hadoop/m-p/371720#M241065</guid>
      <dc:creator>steven-matison</dc:creator>
      <dc:date>2023-05-30T12:25:06Z</dc:date>
    </item>
    <item>
      <title>Re: Kerberos authentication from MacOS Monterey to access Hadoop Web UI post cluster Kerberization</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Kerberos-authentication-from-MacOS-Monterey-to-access-Hadoop/m-p/371733#M241072</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/95503"&gt;@steven-matison&lt;/a&gt;&amp;nbsp;You are right. I have replaced actual REALM with EXAMPLE.COM while posting.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have checked connectivity using "nc -zv" and "ping" command. Connectivity is fine.&lt;/P&gt;&lt;P&gt;====&lt;/P&gt;&lt;P&gt;nc -zv &amp;lt;kdc_server_VIP&amp;gt; &amp;lt;KDC_Port&amp;gt;&lt;BR /&gt;Connection to xxxxxxxx port xxxxxx [tcp/sqlexec] succeeded!&lt;/P&gt;&lt;P&gt;====&lt;/P&gt;&lt;P&gt;--- &amp;lt;kdc_server_VIP&amp;gt; ping statistics ---&lt;BR /&gt;13 packets transmitted, 12 packets received, 7.7% packet loss&lt;/P&gt;&lt;P&gt;====&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;"kinit: krb5_get_init_creds: unable to reach any KDC in realm EXAMPLE.COM, tried 0 KDCs"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;By seeing the above error, I feel it's not able to locate the krb5.conf file.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;When we run kinit command, is it referring to /etc directory for krb5.conf file or some other location in Mac machine?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Banshi.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 30 May 2023 13:44:37 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Kerberos-authentication-from-MacOS-Monterey-to-access-Hadoop/m-p/371733#M241072</guid>
      <dc:creator>banshidhar_saho</dc:creator>
      <dc:date>2023-05-30T13:44:37Z</dc:date>
    </item>
    <item>
      <title>Re: Kerberos authentication from MacOS Monterey to access Hadoop Web UI post cluster Kerberization</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Kerberos-authentication-from-MacOS-Monterey-to-access-Hadoop/m-p/371804#M241090</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hi&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/95503" target="_blank"&gt;@steven-matison&lt;/A&gt;&lt;/P&gt;&lt;P&gt;The issue got fixed after making below 2 changes in /etc/krb5.conf file&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. Issue was a include line in my /etc/krb5.conf file which was not valid.&lt;/P&gt;&lt;P&gt;Removed below from /etc/krb5.conf&lt;BR /&gt;"includedir /etc/krb5.conf.d/"&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2.&amp;nbsp;On macOS the default client does not fall back to TCP. In krb5.conf prefix kdc value with tcp/ to force the client to use TCP if your corporate network blocks UDP.&lt;BR /&gt;kdc = tcp/kdc.example.com:88&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Banshi.&lt;/P&gt;</description>
      <pubDate>Wed, 31 May 2023 02:29:48 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Kerberos-authentication-from-MacOS-Monterey-to-access-Hadoop/m-p/371804#M241090</guid>
      <dc:creator>banshidhar_saho</dc:creator>
      <dc:date>2023-05-31T02:29:48Z</dc:date>
    </item>
  </channel>
</rss>

