<?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 Why I'm able to access the hdfs even after kerberos ticket is expired. in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Why-I-m-able-to-access-the-hdfs-even-after-kerberos-ticket/m-p/108913#M50674</link>
    <description>&lt;P&gt;I've modified the principal maxlife to 5min, as per the theory I should not be able to access the hdfs after 5min. But for me ticket is expiring after 10min. Any idea?
&lt;/P&gt;&lt;PRE&gt;WARN ipc.Client: Exception encountered while connecting to the server : 
javax.security.sasl.SaslException: GSS initiate failed [Caused by GSSException: No valid credentials provided (Mechanism level: Failed to find any Kerberos tgt)] &lt;/PRE&gt;&lt;P&gt;
modified maxlife using below command,

&lt;/P&gt;&lt;PRE&gt;modprinc -maxlife "5minutes" hdfs-n@HWXBLR.COM&lt;/PRE&gt;</description>
    <pubDate>Tue, 03 Jan 2017 20:21:02 GMT</pubDate>
    <dc:creator>nyadav</dc:creator>
    <dc:date>2017-01-03T20:21:02Z</dc:date>
    <item>
      <title>Why I'm able to access the hdfs even after kerberos ticket is expired.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Why-I-m-able-to-access-the-hdfs-even-after-kerberos-ticket/m-p/108913#M50674</link>
      <description>&lt;P&gt;I've modified the principal maxlife to 5min, as per the theory I should not be able to access the hdfs after 5min. But for me ticket is expiring after 10min. Any idea?
&lt;/P&gt;&lt;PRE&gt;WARN ipc.Client: Exception encountered while connecting to the server : 
javax.security.sasl.SaslException: GSS initiate failed [Caused by GSSException: No valid credentials provided (Mechanism level: Failed to find any Kerberos tgt)] &lt;/PRE&gt;&lt;P&gt;
modified maxlife using below command,

&lt;/P&gt;&lt;PRE&gt;modprinc -maxlife "5minutes" hdfs-n@HWXBLR.COM&lt;/PRE&gt;</description>
      <pubDate>Tue, 03 Jan 2017 20:21:02 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Why-I-m-able-to-access-the-hdfs-even-after-kerberos-ticket/m-p/108913#M50674</guid>
      <dc:creator>nyadav</dc:creator>
      <dc:date>2017-01-03T20:21:02Z</dc:date>
    </item>
    <item>
      <title>Re: Why I'm able to access the hdfs even after kerberos ticket is expired.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Why-I-m-able-to-access-the-hdfs-even-after-kerberos-ticket/m-p/108914#M50675</link>
      <description>&lt;P&gt;The default value for maximum clock skew is 300 seconds, or five minutes. So by default, the kerberos server will refuse to issue  tickets only if the clocks are out of sync by more than 5 minutes, hence you are allowed to access the service or renew tickets till the acceptable clock skew time.
&lt;A href="https://web.mit.edu/kerberos/krb5-1.5/krb5-1.5.4/doc/krb5-admin/Clock-Skew.html"&gt;MIT ClockSkew&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 03 Jan 2017 20:35:34 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Why-I-m-able-to-access-the-hdfs-even-after-kerberos-ticket/m-p/108914#M50675</guid>
      <dc:creator>krajguru</dc:creator>
      <dc:date>2017-01-03T20:35:34Z</dc:date>
    </item>
    <item>
      <title>Re: Why I'm able to access the hdfs even after kerberos ticket is expired.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Why-I-m-able-to-access-the-hdfs-even-after-kerberos-ticket/m-p/108915#M50676</link>
      <description>&lt;P&gt;thanks &lt;A rel="user" href="https://community.cloudera.com/users/10531/krajguru.html" nodeid="10531"&gt;@krajguru&lt;/A&gt; for response. So it is expected behavior. Can we reduce this clock skew and is it advised to reduce it?&lt;/P&gt;</description>
      <pubDate>Tue, 03 Jan 2017 20:56:37 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Why-I-m-able-to-access-the-hdfs-even-after-kerberos-ticket/m-p/108915#M50676</guid>
      <dc:creator>nyadav</dc:creator>
      <dc:date>2017-01-03T20:56:37Z</dc:date>
    </item>
    <item>
      <title>Re: Why I'm able to access the hdfs even after kerberos ticket is expired.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Why-I-m-able-to-access-the-hdfs-even-after-kerberos-ticket/m-p/108916#M50677</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/7520/nyadav.html" nodeid="7520"&gt;@nyadav&lt;/A&gt; 
You can change this default value of 300 seconds in the [libdefaults] section of the &lt;A href="http://web.mit.edu/Kerberos/krb5-1.12/doc/admin/conf_files/krb5_conf.html"&gt;krb5.conf&lt;/A&gt; file. But for security reasons, do not increase the clock skew beyond 300 seconds.&lt;/P&gt;</description>
      <pubDate>Tue, 03 Jan 2017 21:47:20 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Why-I-m-able-to-access-the-hdfs-even-after-kerberos-ticket/m-p/108916#M50677</guid>
      <dc:creator>krajguru</dc:creator>
      <dc:date>2017-01-03T21:47:20Z</dc:date>
    </item>
  </channel>
</rss>

