<?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: Setup IWA/SSO for SAS web clients in Administration and Deployment</title>
    <link>https://communities.sas.com/t5/Administration-and-Deployment/Setup-IWA-SSO-for-SAS-web-clients/m-p/603636#M17642</link>
    <description>&lt;P&gt;Hi &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/41748"&gt;@alexal&lt;/a&gt;&amp;nbsp; - I did set up the keytab file with HTTP/SPN for the web clients. Here are the contents of the keytab file as is.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Keytab name: FILE:SASWeb.keytab&lt;BR /&gt;KVNO Timestamp Principal&lt;BR /&gt;---- ------------------- ------------------------------------------------------&lt;BR /&gt;1 11/12/2019 10:44:17 HTTP/sastestmd.core.local@CORE.LOCAL (arcfour-hmac)&lt;BR /&gt;1 11/12/2019 10:44:17 HTTP/sastestmd@CORE.LOCAL (arcfour-hmac)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And the errors that I am getting while trying to authenticate...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;kinit -kt SASWeb.keytab HTTP/sastestmd.core.local@CORE.LOCAL&lt;BR /&gt;kinit: Preauthentication failed while getting initial credentials&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;kinit -kt SASWeb.keytab HTTP/sastestmd@CORE.LOCAL&lt;BR /&gt;kinit: Client 'HTTP/sastestmd@CORE.LOCAL' not found in Kerberos database while getting initial credentials&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 12 Nov 2019 17:11:35 GMT</pubDate>
    <dc:creator>RupaJ</dc:creator>
    <dc:date>2019-11-12T17:11:35Z</dc:date>
    <item>
      <title>Setup IWA/SSO for SAS web clients</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Setup-IWA-SSO-for-SAS-web-clients/m-p/603090#M17606</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am working on setting up the SSO/IWA for SAS web clients like studio and need some guidance. I have already worked on setting up the IWA for SAS desktop clients successfully. So I am assuming the steps are going to similar. Have couple questions.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1) Can I have 2 different keytab files - one for desktop and one for web clients? Or should I alter the keytab of the desktop clients to add the web one?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2) I did set up a separate one and as per the SAS documentation , here is the command to verify the keytab file and it doesn't work for me:-(&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;kinit -k -t &lt;/SPAN&gt;&lt;SPAN class="xis-userSuppliedValue"&gt;keytab-filename-and-path&lt;/SPAN&gt;&lt;SPAN&gt;.keytab &lt;/SPAN&gt;&lt;SPAN class="xis-userSuppliedValue"&gt;user-principal-name&lt;/SPAN&gt;&lt;SPAN&gt; -J-Djava.security.krb5.conf= &lt;/SPAN&gt;&lt;SPAN class="xis-userSuppliedValue"&gt;path-to-Kerberos-file&lt;/SPAN&gt;&lt;SPAN&gt;.conf&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;And I am getting the error.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;kinit: invalid option -- 'J'&lt;BR /&gt;kinit: invalid option -- '-'&lt;BR /&gt;kinit: invalid option -- 'D'&lt;BR /&gt;kinit: invalid option -- 'j'&lt;BR /&gt;kinit: invalid option -- '.'&lt;BR /&gt;Bad start time value ecurity.krb5.conf=/etc/krb5.conf&lt;BR /&gt;keytab specified, forcing -k&lt;BR /&gt;Extra arguments (starting with "src_sasprodkrb@Healthcore.local").&lt;BR /&gt;Usage: kinit [-V] [-l lifetime] [-s start_time]&lt;BR /&gt;[-r renewable_life] [-f | -F | --forwardable | --noforwardable]&lt;BR /&gt;[-p | -P | --proxiable | --noproxiable]&lt;BR /&gt;-n [-a | -A | --addresses | --noaddresses]&lt;BR /&gt;[--request-pac | --no-request-pac]&lt;BR /&gt;[-C | --canonicalize]&lt;BR /&gt;[-E | --enterprise]&lt;BR /&gt;[-v] [-R] [-k [-i|-t keytab_file]] [-c cachename]&lt;BR /&gt;[-S service_name] [-T ticket_armor_cache]&lt;BR /&gt;[-X &amp;lt;attribute&amp;gt;[=&amp;lt;value&amp;gt;]] [principal]&lt;/P&gt;&lt;P&gt;options:&lt;BR /&gt;-V verbose&lt;BR /&gt;-l lifetime&lt;BR /&gt;-s start time&lt;BR /&gt;-r renewable lifetime&lt;BR /&gt;-f forwardable&lt;BR /&gt;-F not forwardable&lt;BR /&gt;-p proxiable&lt;BR /&gt;-P not proxiable&lt;BR /&gt;-n anonymous&lt;BR /&gt;-a include addresses&lt;BR /&gt;-A do not include addresses&lt;BR /&gt;-v validate&lt;BR /&gt;-R renew&lt;BR /&gt;-C canonicalize&lt;BR /&gt;-E client is enterprise principal name&lt;BR /&gt;-k use keytab&lt;BR /&gt;-i use default client keytab (with -k)&lt;BR /&gt;-t filename of keytab to use&lt;BR /&gt;-c Kerberos 5 cache name&lt;BR /&gt;-S service&lt;BR /&gt;-T armor credential cache&lt;BR /&gt;-X &amp;lt;attribute&amp;gt;[=&amp;lt;value&amp;gt;]&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How do I validate if the generated keytab file is working fine and generating a ticket?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for all the help!!&lt;/P&gt;</description>
      <pubDate>Sun, 10 Nov 2019 22:01:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Setup-IWA-SSO-for-SAS-web-clients/m-p/603090#M17606</guid>
      <dc:creator>RupaJ</dc:creator>
      <dc:date>2019-11-10T22:01:23Z</dc:date>
    </item>
    <item>
      <title>Re: Setup IWA/SSO for SAS web clients</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Setup-IWA-SSO-for-SAS-web-clients/m-p/603186#M17614</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/185092"&gt;@RupaJ&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;Can I have 2 different keytab files - one for desktop and one for web clients?&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Yes.&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;kinit -k -t keytab-filename-and-path.keytab user-principal-name -J-Djava.security.krb5.conf= path-to-Kerberos-file.conf&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;That is an incorrect command. Here is an example:&lt;/P&gt;
&lt;PRE&gt;kinit -kt /path/to/keytab/file.keytab SAS/my.server.com@MYREALM.COM&lt;/PRE&gt;</description>
      <pubDate>Mon, 11 Nov 2019 13:21:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Setup-IWA-SSO-for-SAS-web-clients/m-p/603186#M17614</guid>
      <dc:creator>alexal</dc:creator>
      <dc:date>2019-11-11T13:21:40Z</dc:date>
    </item>
    <item>
      <title>Re: Setup IWA/SSO for SAS web clients</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Setup-IWA-SSO-for-SAS-web-clients/m-p/603231#M17617</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/41748"&gt;@alexal&lt;/a&gt;&amp;nbsp;- Thanks for the response. So "SAS/my.server.com@MYREALM" is the prinicipal name in the keytab right?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;kinit -kt /path/to/keytab/file.keytab SAS/my.server.com@MYREALM.COM&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The one I created looks like "HTTP/meta.abc.local@ABC.LOCAL". It says "kinit: Client 'HTTP/meta.abc.local@ABC.LOCAL' not found in Kerberos database while getting initial credentials"&lt;/P&gt;</description>
      <pubDate>Mon, 11 Nov 2019 15:00:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Setup-IWA-SSO-for-SAS-web-clients/m-p/603231#M17617</guid>
      <dc:creator>RupaJ</dc:creator>
      <dc:date>2019-11-11T15:00:09Z</dc:date>
    </item>
    <item>
      <title>Re: Setup IWA/SSO for SAS web clients</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Setup-IWA-SSO-for-SAS-web-clients/m-p/603456#M17626</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/185092"&gt;@RupaJ&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;SAS/ SPN is intended to use for IWA/GSSAPI authentication with applications such as SAS Enterprise Guide, SAS Management Console. HTTP/ SPN&amp;nbsp;is intended to use for IWA/GSSAPI authentication of web clients. I'm not sure what you have in keytab file, but you can list all SPNs using a command shown below:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;klist -kt /path/to/keytab/file.keytab&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Nov 2019 08:52:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Setup-IWA-SSO-for-SAS-web-clients/m-p/603456#M17626</guid>
      <dc:creator>alexal</dc:creator>
      <dc:date>2019-11-12T08:52:13Z</dc:date>
    </item>
    <item>
      <title>Re: Setup IWA/SSO for SAS web clients</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Setup-IWA-SSO-for-SAS-web-clients/m-p/603636#M17642</link>
      <description>&lt;P&gt;Hi &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/41748"&gt;@alexal&lt;/a&gt;&amp;nbsp; - I did set up the keytab file with HTTP/SPN for the web clients. Here are the contents of the keytab file as is.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Keytab name: FILE:SASWeb.keytab&lt;BR /&gt;KVNO Timestamp Principal&lt;BR /&gt;---- ------------------- ------------------------------------------------------&lt;BR /&gt;1 11/12/2019 10:44:17 HTTP/sastestmd.core.local@CORE.LOCAL (arcfour-hmac)&lt;BR /&gt;1 11/12/2019 10:44:17 HTTP/sastestmd@CORE.LOCAL (arcfour-hmac)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And the errors that I am getting while trying to authenticate...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;kinit -kt SASWeb.keytab HTTP/sastestmd.core.local@CORE.LOCAL&lt;BR /&gt;kinit: Preauthentication failed while getting initial credentials&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;kinit -kt SASWeb.keytab HTTP/sastestmd@CORE.LOCAL&lt;BR /&gt;kinit: Client 'HTTP/sastestmd@CORE.LOCAL' not found in Kerberos database while getting initial credentials&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Nov 2019 17:11:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Setup-IWA-SSO-for-SAS-web-clients/m-p/603636#M17642</guid>
      <dc:creator>RupaJ</dc:creator>
      <dc:date>2019-11-12T17:11:35Z</dc:date>
    </item>
    <item>
      <title>Re: Setup IWA/SSO for SAS web clients</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Setup-IWA-SSO-for-SAS-web-clients/m-p/603644#M17643</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/185092"&gt;@RupaJ&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;&lt;SPAN&gt;kinit: Preauthentication failed while getting initial credentials&lt;/SPAN&gt;&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Have you had a chance to speak with your Linux/Active Directory administrators about an error shown above?&lt;/P&gt;</description>
      <pubDate>Tue, 12 Nov 2019 17:37:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Setup-IWA-SSO-for-SAS-web-clients/m-p/603644#M17643</guid>
      <dc:creator>alexal</dc:creator>
      <dc:date>2019-11-12T17:37:01Z</dc:date>
    </item>
    <item>
      <title>Re: Setup IWA/SSO for SAS web clients</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Setup-IWA-SSO-for-SAS-web-clients/m-p/603886#M17661</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/41748"&gt;@alexal&lt;/a&gt;&amp;nbsp;- Have a question before that. My AD admin has the same question. So how does the keytab file know which account it needs to look for, because I only provide the password of the account to generate the keytab file.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is how I generated the keytab file btw.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;[an118000ad@sastestmd ~]$ ktutil&lt;BR /&gt;ktutil: addent -password -p HTTP/sastestmd.core.local -k 1 -e arcfour-hmac&lt;BR /&gt;Password for HTTP/sastestmd.core.local@CORE.LOCAL:&lt;BR /&gt;ktutil: addent -password -p HTTP/sastestmd -k 1 -e arcfour-hmac&lt;BR /&gt;Password for HTTP/sastestmd@CORE.LOCAL:&lt;BR /&gt;ktutil: wkt /home/an118000ad/SASWeb.keytab&lt;BR /&gt;ktutil: read_kt /home/an118000ad/SASWeb.keytab&lt;BR /&gt;ktutil: list&lt;BR /&gt;slot KVNO Principal&lt;BR /&gt;---- ---- ---------------------------------------------------------------------&lt;BR /&gt;1 1 HTTP/sastestmd.core.local@CORE.LOCAL&lt;BR /&gt;2 1 HTTP/sastestmd@CORE.LOCAL&lt;BR /&gt;3 1 HTTP/sastestmd.core.local@CORE.LOCAL&lt;BR /&gt;4 1 HTTP/sastestmd@CORE.LOCAL&lt;BR /&gt;ktutil: quit&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now the SPN is definitely created with that account.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;setspn -L src_sastestkrb&lt;/P&gt;&lt;P&gt;Registered ServicePrincipalNames for CN=src_sastestkrb,OU=Service_Accounts,DC=core,DC=local:&lt;BR /&gt;HTTP/sastestmd.core.local&lt;BR /&gt;HTTP/sastestmd&lt;/P&gt;</description>
      <pubDate>Wed, 13 Nov 2019 15:24:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Setup-IWA-SSO-for-SAS-web-clients/m-p/603886#M17661</guid>
      <dc:creator>RupaJ</dc:creator>
      <dc:date>2019-11-13T15:24:44Z</dc:date>
    </item>
    <item>
      <title>Re: Setup IWA/SSO for SAS web clients</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Setup-IWA-SSO-for-SAS-web-clients/m-p/603891#M17662</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/185092"&gt;@RupaJ&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;&lt;SPAN&gt;So how does the keytab file know which account it needs to look for&lt;/SPAN&gt;&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm not sure I understood your question, but usually, SPNs are associated with the specific objects in AD, such as users.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 13 Nov 2019 15:44:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Setup-IWA-SSO-for-SAS-web-clients/m-p/603891#M17662</guid>
      <dc:creator>alexal</dc:creator>
      <dc:date>2019-11-13T15:44:50Z</dc:date>
    </item>
  </channel>
</rss>

