<?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: Zeppelin kerberos authentication in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Zeppelin-kerberos-authentication/m-p/211956#M77047</link>
    <description>&lt;P&gt;&lt;EM&gt;&lt;A href="@Mustafa Kemal MAYUK"&gt; @Mustafa Kemal MAYUK&lt;/A&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;The answer is YES but there are trade off's&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt; &lt;STRONG&gt;LDAP authentication is &lt;/STRONG&gt;used for holding authoritative information about the accounts, such as what they're allowed to access (authorization), the user's full name and uid for centralized authentication, meaning you have to log in to every service, but if you change your password it changes everywhere.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;Kerberos &lt;/STRONG&gt;&lt;/EM&gt;is used to manage credentials securely (authentication) and &lt;I&gt;is single sign-on (SSO), meaning you log in once and get a token and don't need to login to other services.&lt;/I&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;There's a trade-off: LDAP is less convenient but simpler. Kerberos is more convenient but more complex. Secure things are simple and convenient.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;There's no right answer. If you need SSO use Kerberos. Else LDAP. &lt;/EM&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 10 Apr 2018 16:07:49 GMT</pubDate>
    <dc:creator>Shelton</dc:creator>
    <dc:date>2018-04-10T16:07:49Z</dc:date>
    <item>
      <title>Zeppelin kerberos authentication</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Zeppelin-kerberos-authentication/m-p/211955#M77046</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;is it possible to do authentication only with kerberos principal in a kerberized cluster? (without using AD or LDAP)&lt;/P&gt;&lt;P&gt;Regard.&lt;/P&gt;</description>
      <pubDate>Tue, 10 Apr 2018 15:26:10 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Zeppelin-kerberos-authentication/m-p/211955#M77046</guid>
      <dc:creator>mustafakemal_ma</dc:creator>
      <dc:date>2018-04-10T15:26:10Z</dc:date>
    </item>
    <item>
      <title>Re: Zeppelin kerberos authentication</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Zeppelin-kerberos-authentication/m-p/211956#M77047</link>
      <description>&lt;P&gt;&lt;EM&gt;&lt;A href="@Mustafa Kemal MAYUK"&gt; @Mustafa Kemal MAYUK&lt;/A&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;The answer is YES but there are trade off's&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt; &lt;STRONG&gt;LDAP authentication is &lt;/STRONG&gt;used for holding authoritative information about the accounts, such as what they're allowed to access (authorization), the user's full name and uid for centralized authentication, meaning you have to log in to every service, but if you change your password it changes everywhere.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;Kerberos &lt;/STRONG&gt;&lt;/EM&gt;is used to manage credentials securely (authentication) and &lt;I&gt;is single sign-on (SSO), meaning you log in once and get a token and don't need to login to other services.&lt;/I&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;There's a trade-off: LDAP is less convenient but simpler. Kerberos is more convenient but more complex. Secure things are simple and convenient.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;There's no right answer. If you need SSO use Kerberos. Else LDAP. &lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 10 Apr 2018 16:07:49 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Zeppelin-kerberos-authentication/m-p/211956#M77047</guid>
      <dc:creator>Shelton</dc:creator>
      <dc:date>2018-04-10T16:07:49Z</dc:date>
    </item>
    <item>
      <title>Re: Zeppelin kerberos authentication</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Zeppelin-kerberos-authentication/m-p/211957#M77048</link>
      <description>&lt;P&gt;Thanks &lt;A rel="user" href="https://community.cloudera.com/users/1271/sheltong.html" nodeid="1271"&gt;@Geoffrey Shelton Okot&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I have already a Zeppelin instance in a kerberized cluster. Should I do extra configuration for kerberos authentication? I couldn't login to zeppelin ui with a kerberos principal.&lt;/P&gt;</description>
      <pubDate>Tue, 10 Apr 2018 17:20:54 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Zeppelin-kerberos-authentication/m-p/211957#M77048</guid>
      <dc:creator>mustafakemal_ma</dc:creator>
      <dc:date>2018-04-10T17:20:54Z</dc:date>
    </item>
    <item>
      <title>Re: Zeppelin kerberos authentication</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Zeppelin-kerberos-authentication/m-p/211958#M77049</link>
      <description>&lt;P&gt;&lt;EM&gt;&lt;A href="https://community.hortonworks.com/users/10532/mustafakemalmayuk.html"&gt;@Mustafa Kemal MAYUK&lt;/A&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;I guess you run the Kerberos wizard through Ambari if so the corresponding keytabs must have already been generated so no need for any action. &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;The Zeppelin daemon needs a Kerberos account and keytab to run in a Kerberized cluster. Have a look at &lt;CODE&gt;%spark&lt;/CODE&gt; interpreter like the property &lt;STRONG&gt;spark.yarn.keytabs&lt;/STRONG&gt;  or &lt;STRONG&gt;spark.yarn.principal&lt;/STRONG&gt; they should already be filled.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;All the configuration is in the shiro.ini, you can even map local users and restart Zeppelin these users should be able to login Zeppelin UI. &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;These are the default users&lt;/EM&gt;&lt;/P&gt;&lt;PRE&gt;&lt;EM&gt;[users]
# List of users with their password allowed to access Zeppelin.
# To use a different strategy (LDAP / Database / ...) 
# check the shiro doc at &lt;A href="http://shiro.apache.org/configuration.html" target="_blank"&gt;http://shiro.apache.org/configuration.html&lt;/A&gt;
# Configuration-INI Sections
admin = admin, admin
user1 = user1, role1, role2
user2 = user2, role3
user3 = user3, role2
# Added user John/John
John = John, role1, role2&lt;/EM&gt;&lt;/PRE&gt;&lt;P&gt;&lt;EM&gt;But your spark queries won't necessarily run after logging in as one of these. For spark queries to run, the user needs to be a local user on the Linux box. Hence these are just default logins which you can change yourself.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;For simple configs, you can add more username/password in text format in [users] section in the above example I added&lt;/EM&gt;&lt;/P&gt;&lt;PRE&gt;&lt;EM&gt;John = John, role1, role2&lt;/EM&gt;&lt;/PRE&gt;&lt;P&gt;&lt;EM&gt;And could log on to zeppelin UI as &lt;STRONG&gt;John/John&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 10 Apr 2018 20:24:58 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Zeppelin-kerberos-authentication/m-p/211958#M77049</guid>
      <dc:creator>Shelton</dc:creator>
      <dc:date>2018-04-10T20:24:58Z</dc:date>
    </item>
  </channel>
</rss>

