<?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 managing krb5.conf in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-managing-krb5-conf/m-p/131834#M34848</link>
    <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/2236/russ-stevenson.html" nodeid="2236" target="_blank"&gt;@russ stevenson&lt;/A&gt;
&lt;/P&gt;&lt;P&gt;If you don't Ambari to manage your krb5.conf then as per below screenshot, you can turn off "Manage Kerberos client krb5.conf" option.&lt;/P&gt;&lt;P&gt;Login to Ambari --&amp;gt; Goto Kerberos --&amp;gt; Goto config --&amp;gt; Turn off "Manage Kerberos client krb5.conf"&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="5874-screen-shot-2016-07-19-at-45131-pm.png" style="width: 1750px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/22285iE9E227DE75B9DD19/image-size/medium?v=v2&amp;amp;px=400" role="button" title="5874-screen-shot-2016-07-19-at-45131-pm.png" alt="5874-screen-shot-2016-07-19-at-45131-pm.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Regarding commented entries - I'm not too sure why it is commented, if I change encryption type via Ambari then also it will be commented. Adding few Ambari experts in this thread.&lt;/P&gt;&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/350/vpoornalingam.html" nodeid="350" target="_blank"&gt;@vpoornalingam&lt;/A&gt; / &lt;A rel="user" href="https://community.cloudera.com/users/337/ctam.html" nodeid="337" target="_blank"&gt;@ctam&lt;/A&gt; &lt;/P&gt;&lt;P&gt;Note  - I found this bug though - &lt;A href="https://issues.apache.org/jira/browse/AMBARI-14001" target="_blank" rel="nofollow noopener noreferrer"&gt;https://issues.apache.org/jira/browse/AMBARI-14001&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 19 Aug 2019 09:22:37 GMT</pubDate>
    <dc:creator>KuldeepK</dc:creator>
    <dc:date>2019-08-19T09:22:37Z</dc:date>
    <item>
      <title>Ambari managing krb5.conf</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-managing-krb5-conf/m-p/131833#M34847</link>
      <description>&lt;P&gt;
	Can anyone explain why when Ambari is managing a clients krb5.conf file the default_tgs_enctypes value in the krb5.conf file is commented out? The values reflect the Ambari values, they are just commented out.&lt;/P&gt;&lt;P&gt;
	The TGT is showing aes-256, I'm just trying to pull together
the amabri configure in context to the krb5.conf.&lt;/P&gt;&lt;PRE&gt;sh-4.1$ klist -e Ticket cache: FILE:/tmp/krb5cc_49003
Default principal: hdpuser3@FOO.COM Valid starting Expires Service principal
07/15/16 12:10:15 07/15/16 22:07:30 krbtgt/FOO.COM@FOO.COM renew until 07/22/16
12:10:15, Etype (skey, tkt): aes256-cts-hmac-sha1-96, aes256-cts-hmac-sha1-96&lt;/PRE&gt;&lt;P&gt;
	Thanks,&lt;/P&gt;&lt;P&gt;
	russ&lt;/P&gt;&lt;P&gt;
	It is configured with the kerberos configuration, see below&lt;/P&gt;&lt;PRE&gt;"ad_create_attributes_template" : "\n{\n  \"objectClass\":
[\"top\", \"person\", \"organizationalPerson\",
\"user\"],\n  \"cn\":
\"$principal_name\",\n  #if( $is_service
)\n  \"servicePrincipalName\":
\"$principal_name\",\n 
#end\n 
\"userPrincipalName\": \"$normalized_principal\",\n  \"unicodePwd\": \"$password\",\n  \"accountExpires\":
\"0\",\n 
\"userAccountControl\": \"66048\"\n}",
 
"admin_server_host" : "rs-2008r2-dc.foo.com",
 
"case_insensitive_username_rules" : "false",
 
"container_dn" : "ou=rshdp1",
&lt;STRONG&gt; 
"encryption_types" : "aes des3-cbc-sha1 rc4
des-cbc-md5",
&lt;/STRONG&gt; 
"executable_search_paths" : "/usr/bin, /usr/kerberos/bin,
/usr/sbin, /usr/lib/mit/bin, /usr/lib/mit/sbin",
 
"install_packages" : "true",
 
"kdc_create_attributes" : "",
 
"kdc_host" : "rs-2008r2-dc.foo.com",
 
"kdc_type" : "active-directory",
snip from the krb5.conf:
[libdefaults] 
renew_lifetime = 7d 
forwardable = true 
default_realm = FOO.COM 
ticket_lifetime = 24h dns_lookup_realm = false 
dns_lookup_kdc = false 
&lt;STRONG&gt;#default_tgs_enctypes = aes des3-cbc-sha1 rc4 des-cbc-md5
&lt;/STRONG&gt;&lt;STRONG&gt;#default_tkt_enctypes = aes des3-cbc-sha1 rc4 des-cbc-md5&lt;/STRONG&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 16 Sep 2022 10:30:09 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-managing-krb5-conf/m-p/131833#M34847</guid>
      <dc:creator>russ_stevenson</dc:creator>
      <dc:date>2022-09-16T10:30:09Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari managing krb5.conf</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-managing-krb5-conf/m-p/131834#M34848</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/2236/russ-stevenson.html" nodeid="2236" target="_blank"&gt;@russ stevenson&lt;/A&gt;
&lt;/P&gt;&lt;P&gt;If you don't Ambari to manage your krb5.conf then as per below screenshot, you can turn off "Manage Kerberos client krb5.conf" option.&lt;/P&gt;&lt;P&gt;Login to Ambari --&amp;gt; Goto Kerberos --&amp;gt; Goto config --&amp;gt; Turn off "Manage Kerberos client krb5.conf"&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="5874-screen-shot-2016-07-19-at-45131-pm.png" style="width: 1750px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/22285iE9E227DE75B9DD19/image-size/medium?v=v2&amp;amp;px=400" role="button" title="5874-screen-shot-2016-07-19-at-45131-pm.png" alt="5874-screen-shot-2016-07-19-at-45131-pm.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Regarding commented entries - I'm not too sure why it is commented, if I change encryption type via Ambari then also it will be commented. Adding few Ambari experts in this thread.&lt;/P&gt;&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/350/vpoornalingam.html" nodeid="350" target="_blank"&gt;@vpoornalingam&lt;/A&gt; / &lt;A rel="user" href="https://community.cloudera.com/users/337/ctam.html" nodeid="337" target="_blank"&gt;@ctam&lt;/A&gt; &lt;/P&gt;&lt;P&gt;Note  - I found this bug though - &lt;A href="https://issues.apache.org/jira/browse/AMBARI-14001" target="_blank" rel="nofollow noopener noreferrer"&gt;https://issues.apache.org/jira/browse/AMBARI-14001&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 19 Aug 2019 09:22:37 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-managing-krb5-conf/m-p/131834#M34848</guid>
      <dc:creator>KuldeepK</dc:creator>
      <dc:date>2019-08-19T09:22:37Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari managing krb5.conf</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-managing-krb5-conf/m-p/131835#M34849</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/2236/russ-stevenson.html" nodeid="2236"&gt;@russ stevenson&lt;/A&gt;
&lt;/P&gt;&lt;P&gt;The reason they are commented out is based on recommendations from MIT - &lt;A href="http://web.mit.edu/kerberos/krb5-1.13/doc/admin/conf_files/krb5_conf.html" target="_blank"&gt;http://web.mit.edu/kerberos/krb5-1.13/doc/admin/conf_files/krb5_conf.html&lt;/A&gt; (see default_tgs_enctypes" and "default_tkt_enctypes")&lt;/P&gt;&lt;BLOCKQUOTE&gt;Do not set this unless required for specific backward compatibility purposes; stale values of this setting can prevent clients from taking advantage of new stronger enctypes when the libraries are upgraded.&lt;/BLOCKQUOTE&gt;&lt;P&gt;We left them in the krb5.conf file, commented out, so you can see what they would have been set to.  You can change this by editing the &lt;STRONG&gt;krb5-conf/&lt;/STRONG&gt;&lt;STRONG&gt;content&lt;/STRONG&gt; property, found under &lt;EM&gt;Advanced krb5-conf&lt;/EM&gt; in the Kerberos service configs as "krb5-conf template".&lt;/P&gt;</description>
      <pubDate>Wed, 20 Jul 2016 07:20:28 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-managing-krb5-conf/m-p/131835#M34849</guid>
      <dc:creator>rlevas</dc:creator>
      <dc:date>2016-07-20T07:20:28Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari managing krb5.conf</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-managing-krb5-conf/m-p/131836#M34850</link>
      <description>&lt;A rel="user" href="https://community.cloudera.com/users/322/rlevas.html" nodeid="322"&gt;@Robert Leva&lt;/A&gt;&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/504/kkulkarni.html" nodeid="504"&gt;@Kuldeep Kulkarni&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Thanks for the response, the combination of the MIT documentation recommendation and the Jira, clarify this observation.&lt;/P&gt;&lt;P&gt;Cheers!&lt;/P&gt;</description>
      <pubDate>Wed, 20 Jul 2016 23:50:06 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-managing-krb5-conf/m-p/131836#M34850</guid>
      <dc:creator>russ_stevenson</dc:creator>
      <dc:date>2016-07-20T23:50:06Z</dc:date>
    </item>
  </channel>
</rss>

