<?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>topic Re: Enable kerberos for sas hadoop in Administration and Deployment</title>
    <link>https://communities.sas.com/t5/Administration-and-Deployment/Enable-kerberos-for-sas-hadoop/m-p/368809#M9073</link>
    <description>&lt;P&gt;thank you so much alexal and maheshtalla for your input,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;at the moment we are using&lt;/P&gt;
&lt;P&gt;sas/access to imapala driver leveraging ODBC - users keeping their own .odbc.ini file&lt;/P&gt;
&lt;P&gt;+&lt;/P&gt;
&lt;P&gt;sas/access to hadoop driver leveraging hadoop jar files (filename statement) or webhdfs&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also, for Reading -&amp;gt; LDAP authenticaiton and for R+W -&amp;gt; Kerberos authentication&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;And yes, our etc/krb5.conf file has those details in it,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 20 Jun 2017 16:03:31 GMT</pubDate>
    <dc:creator>woo</dc:creator>
    <dc:date>2017-06-20T16:03:31Z</dc:date>
    <item>
      <title>Enable kerberos for sas hadoop</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Enable-kerberos-for-sas-hadoop/m-p/368496#M9059</link>
      <description>&lt;P&gt;Hello - i am new to sas and hadoop. we have hadoop team with x number of nodes in a cluster. we have sas 9.4 on linux on grid cluster where some users are trying connecting to&amp;nbsp;hadoop using filename statment with proc hadoop but hadoop team saying sas will need to enable kerberos so that sas eg users can be connected.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;i tried to find some documentation on how to enable kerberos from sas end and found some&amp;nbsp;but not specific, can somone please direct?&lt;/P&gt;</description>
      <pubDate>Mon, 19 Jun 2017 21:25:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Enable-kerberos-for-sas-hadoop/m-p/368496#M9059</guid>
      <dc:creator>woo</dc:creator>
      <dc:date>2017-06-19T21:25:35Z</dc:date>
    </item>
    <item>
      <title>Re: Enable kerberos for sas hadoop</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Enable-kerberos-for-sas-hadoop/m-p/368503#M9060</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/26689"&gt;@woo&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;SAS do not directly interact with your authentication server, so you need to configure PAM/Kerberos authentication in Linux, then you can enable PAM authentication in SAS:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://support.sas.com/kb/49/432.html" target="_self"&gt;http://support.sas.com/kb/49/432.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Do not forget that you need to uncomment the following line in /&amp;lt;SASHome&amp;gt;/SASFoundation/9.4/utilities/bin/sasauth.conf:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;PAM_SETCREDENTIALS=TRUE&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can test PAM authentication and Kerberos ticket creation by using "proc permtest":&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://support.sas.com/kb/39/891.html" target="_self"&gt;http://support.sas.com/kb/39/891.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Let me know if you have any questions.&lt;/P&gt;</description>
      <pubDate>Mon, 19 Jun 2017 21:59:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Enable-kerberos-for-sas-hadoop/m-p/368503#M9060</guid>
      <dc:creator>alexal</dc:creator>
      <dc:date>2017-06-19T21:59:35Z</dc:date>
    </item>
    <item>
      <title>Re: Enable kerberos for sas hadoop</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Enable-kerberos-for-sas-hadoop/m-p/368724#M9068</link>
      <description>&lt;P&gt;we have host authentication implemented at the moment for sas grid + that PAM_SET...option is already turned off,,,in that case, what can be done from sas end?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;also, .odbc.ini file contains i believe three parameters for kerberos authentication and they are,&lt;/P&gt;
&lt;P&gt;KrbRealm=&lt;/P&gt;
&lt;P&gt;KrbFQDN=&lt;/P&gt;
&lt;P&gt;KrbServiceName=&lt;/P&gt;</description>
      <pubDate>Tue, 20 Jun 2017 14:00:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Enable-kerberos-for-sas-hadoop/m-p/368724#M9068</guid>
      <dc:creator>woo</dc:creator>
      <dc:date>2017-06-20T14:00:59Z</dc:date>
    </item>
    <item>
      <title>Re: Enable kerberos for sas hadoop</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Enable-kerberos-for-sas-hadoop/m-p/368755#M9069</link>
      <description>&lt;P&gt;+&lt;/P&gt;
&lt;P&gt;users are connecting to hadoop fine from server itself (like putty or so), issues comes in when users trying connect via sas eg,&lt;/P&gt;</description>
      <pubDate>Tue, 20 Jun 2017 14:35:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Enable-kerberos-for-sas-hadoop/m-p/368755#M9069</guid>
      <dc:creator>woo</dc:creator>
      <dc:date>2017-06-20T14:35:13Z</dc:date>
    </item>
    <item>
      <title>Re: Enable kerberos for sas hadoop</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Enable-kerberos-for-sas-hadoop/m-p/368762#M9070</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/26689"&gt;@woo&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;gt;&amp;gt; we have host authentication implemented at the moment for sas grid + that PAM_SET...option is already turned off,,,in that case, what can be done from sas end?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In this case SAS sessions can use the Kerberos ticket that was created by issuing kinit command from the Linux console. If you want to generate the Kerberos ticket from SAS, you have to configure PAM authentication + uncomment that option in sasauth.conf. Also, WorkspaceServer_usermods.sh should have this script:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;workspace_user=$(whoami)
workspace_user_ccaches=$(find /tmp -maxdepth 1 -user ${workspace_user} -type f -name "krb5cc_*" -printf '%T@ %p\n' | sort -k 1nr | sed 's/^[^ ]* //' | head -n 1)
if test ! -z "$workspace_user_ccaches"; then
echo "Most recent krb5 ccache found for '${workspace_user}' at '${workspace_user_ccaches}'."
echo "Cache last modified: $(stat -c%y ${workspace_user_ccaches})"
export KRB5CCNAME=$workspace_user_ccaches
echo "KRB5CCNAME has been set to ${KRB5CCNAME}."
else
echo "No krb5 credentials caches were found in /tmp for '${workspace_user}'."
fi&lt;/PRE&gt;</description>
      <pubDate>Tue, 20 Jun 2017 14:45:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Enable-kerberos-for-sas-hadoop/m-p/368762#M9070</guid>
      <dc:creator>alexal</dc:creator>
      <dc:date>2017-06-20T14:45:50Z</dc:date>
    </item>
    <item>
      <title>Re: Enable kerberos for sas hadoop</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Enable-kerberos-for-sas-hadoop/m-p/368783#M9071</link>
      <description>Hi woo,&lt;BR /&gt;For configuring Kerberos, you need to make changes in /etc/krb5.conf. where in you need to add all your domains in the realms section.&lt;BR /&gt;for example: &lt;BR /&gt;[logging]&lt;BR /&gt; default = FILE:/var/log/krb5libs.log&lt;BR /&gt; kdc = FILE:/var/log/krb5kdc.log&lt;BR /&gt; admin_server = FILE:/var/log/kadmind.log&lt;BR /&gt;&lt;BR /&gt;[libdefaults]&lt;BR /&gt; dns_lookup_realm = false&lt;BR /&gt; dns_lookup_kdc = false&lt;BR /&gt; ticket_lifetime = 24h&lt;BR /&gt; renew_lifetime = 7d&lt;BR /&gt; forwardable = true&lt;BR /&gt; rdns = false&lt;BR /&gt; default_realm = company.COM&lt;BR /&gt;#default_ccache_name = /tmp/krb5cc_%{uid}&lt;BR /&gt;[realms]&lt;BR /&gt;company.COM = {&lt;BR /&gt;kdc = xxxx.company.com:88&lt;BR /&gt;admin_server = xxxx.company.com&lt;BR /&gt;}&lt;BR /&gt;Can you please confirm to which DB you are connecting through ODBC?&lt;BR /&gt;Also in ODBC you no need to mention those parameters if you config krb5.conf.</description>
      <pubDate>Tue, 20 Jun 2017 15:27:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Enable-kerberos-for-sas-hadoop/m-p/368783#M9071</guid>
      <dc:creator>maheshtalla</dc:creator>
      <dc:date>2017-06-20T15:27:24Z</dc:date>
    </item>
    <item>
      <title>Re: Enable kerberos for sas hadoop</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Enable-kerberos-for-sas-hadoop/m-p/368786#M9072</link>
      <description>FYI: there is good article/post as in below link. please go through it once which might help you understand.&lt;BR /&gt;&lt;A href="https://communities.sas.com/t5/SAS-Communities-Library/5-tips-for-SAS-ACCESS-TO-KERBERIZED-HADOOP/ta-p/358746" target="_blank"&gt;https://communities.sas.com/t5/SAS-Communities-Library/5-tips-for-SAS-ACCESS-TO-KERBERIZED-HADOOP/ta-p/358746&lt;/A&gt;</description>
      <pubDate>Tue, 20 Jun 2017 15:31:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Enable-kerberos-for-sas-hadoop/m-p/368786#M9072</guid>
      <dc:creator>maheshtalla</dc:creator>
      <dc:date>2017-06-20T15:31:11Z</dc:date>
    </item>
    <item>
      <title>Re: Enable kerberos for sas hadoop</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Enable-kerberos-for-sas-hadoop/m-p/368809#M9073</link>
      <description>&lt;P&gt;thank you so much alexal and maheshtalla for your input,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;at the moment we are using&lt;/P&gt;
&lt;P&gt;sas/access to imapala driver leveraging ODBC - users keeping their own .odbc.ini file&lt;/P&gt;
&lt;P&gt;+&lt;/P&gt;
&lt;P&gt;sas/access to hadoop driver leveraging hadoop jar files (filename statement) or webhdfs&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also, for Reading -&amp;gt; LDAP authenticaiton and for R+W -&amp;gt; Kerberos authentication&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;And yes, our etc/krb5.conf file has those details in it,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Jun 2017 16:03:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Enable-kerberos-for-sas-hadoop/m-p/368809#M9073</guid>
      <dc:creator>woo</dc:creator>
      <dc:date>2017-06-20T16:03:31Z</dc:date>
    </item>
    <item>
      <title>Re: Enable kerberos for sas hadoop</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Enable-kerberos-for-sas-hadoop/m-p/369174#M9086</link>
      <description>Hi Woo,&lt;BR /&gt;If krb5.conf is correctly configured with required KDC then kerberos authentication should work. &lt;BR /&gt;Can you check basic test with kinit on linux server.&lt;BR /&gt;ex: kinit userid&lt;BR /&gt;it prompts for password</description>
      <pubDate>Wed, 21 Jun 2017 14:48:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Enable-kerberos-for-sas-hadoop/m-p/369174#M9086</guid>
      <dc:creator>maheshtalla</dc:creator>
      <dc:date>2017-06-21T14:48:28Z</dc:date>
    </item>
  </channel>
</rss>

