<?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: MidTier : IWA Connection in Administration and Deployment</title>
    <link>https://communities.sas.com/t5/Administration-and-Deployment/MidTier-IWA-Connection/m-p/886114#M26997</link>
    <description>This message means authentication was successful but the user lookup in Metadata is not producing a result. As you are able to log in when you manually specify a user ID this suggests the user ID being provided by IWA/Kerberos does not match the user ID you enter manually. You may need to add the realm to the user definition in Metadata:&lt;BR /&gt;&lt;BR /&gt;Windows User ID Formats&lt;BR /&gt;&lt;A href="https://go.documentation.sas.com/doc/en/bicdc/9.4/bisecag/n1xabf7u29o4lfn1l7l8ac7bfxme.htm" target="_blank"&gt;https://go.documentation.sas.com/doc/en/bicdc/9.4/bisecag/n1xabf7u29o4lfn1l7l8ac7bfxme.htm&lt;/A&gt;</description>
    <pubDate>Mon, 24 Jul 2023 16:31:04 GMT</pubDate>
    <dc:creator>gwootton</dc:creator>
    <dc:date>2023-07-24T16:31:04Z</dc:date>
    <item>
      <title>MidTier : IWA Connection</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/MidTier-IWA-Connection/m-p/881607#M26806</link>
      <description>&lt;P&gt;I am configurating Compute and Midtier using IWA connections and successful till Compute tier. Now checking the documentation for Midtier found out need following&lt;/P&gt;&lt;P&gt;1. a keytab file&lt;/P&gt;&lt;P&gt;2. SPN registration (midtier machine ) with AD&lt;/P&gt;&lt;P&gt;3. username SPN is mapped to (not sure what this is yet)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can any one suggest I need any other tasks/steps to do to be able to complete IWA connections successfully on midtier (SASStudio and EVManager)?.&lt;/P&gt;</description>
      <pubDate>Tue, 20 Jun 2023 20:10:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/MidTier-IWA-Connection/m-p/881607#M26806</guid>
      <dc:creator>mkiran</dc:creator>
      <dc:date>2023-06-20T20:10:13Z</dc:date>
    </item>
    <item>
      <title>Re: MidTier : IWA Connection</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/MidTier-IWA-Connection/m-p/881615#M26809</link>
      <description>I don't think you need anything else, the keytab/SPN/User (UPN) is the identity that the middle tier uses to validate the supplied credential back to Active Directory, so once you've got a  keytab tied to the HTTP/hostname SPN for your middle tier server(s) and update your configuration files accordingly you should be all set. I usually configure fallback authentication as well so I can still log on with user/password.&lt;BR /&gt;&lt;BR /&gt;The steps for configuring the middle tier for IWA can be found here:&lt;BR /&gt;&lt;BR /&gt;Support for Integrated Windows Authentication&lt;BR /&gt;&lt;A href="https://go.documentation.sas.com/doc/en/bicdc/9.4/bimtag/p1871e69gmwdr0n1o182krslc10p.htm" target="_blank"&gt;https://go.documentation.sas.com/doc/en/bicdc/9.4/bimtag/p1871e69gmwdr0n1o182krslc10p.htm&lt;/A&gt;</description>
      <pubDate>Tue, 20 Jun 2023 20:44:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/MidTier-IWA-Connection/m-p/881615#M26809</guid>
      <dc:creator>gwootton</dc:creator>
      <dc:date>2023-06-20T20:44:20Z</dc:date>
    </item>
    <item>
      <title>Re: MidTier : IWA Connection</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/MidTier-IWA-Connection/m-p/881618#M26810</link>
      <description>Thank you!. I will get the required info from IT Support. for the fallback Authentication mechanism we need to have "Log on as a batch job" privilege's but IT is not yet ready to provide that &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;</description>
      <pubDate>Tue, 20 Jun 2023 20:55:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/MidTier-IWA-Connection/m-p/881618#M26810</guid>
      <dc:creator>mkiran</dc:creator>
      <dc:date>2023-06-20T20:55:18Z</dc:date>
    </item>
    <item>
      <title>Re: MidTier : IWA Connection</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/MidTier-IWA-Connection/m-p/884891#M26937</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/78975"&gt;@gwootton&lt;/a&gt;&amp;nbsp;: I have received delegation approvals and keytab file from IT and while checking the keytab file I am receiving an error&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE class=""&gt;kinit -k -t FILE:C:\Temp\KeyTab\myweb.keytab HTTP/webserver.org.com@ORG.com -J-Djava.security.krb5.conf=C:\Windows\krb5.ini&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Error:&lt;/P&gt;&lt;P&gt;Exception: krb_error 0 Do not have keys of types listed in default_tkt_enctypes available; only have keys of following type: No error&lt;BR /&gt;KrbException: Do not have keys of types listed in default_tkt_enctypes available; only have keys of following type:&lt;BR /&gt;at java.security.jgss/sun.security.krb5.internal.crypto.EType.getDefaults(EType.java:295)&lt;BR /&gt;at java.security.jgss/sun.security.krb5.KrbAsReqBuilder.build(KrbAsReqBuilder.java:275)&lt;BR /&gt;at java.security.jgss/sun.security.krb5.KrbAsReqBuilder.send(KrbAsReqBuilder.java:344)&lt;BR /&gt;at java.security.jgss/sun.security.krb5.KrbAsReqBuilder.action(KrbAsReqBuilder.java:498)&lt;BR /&gt;at java.security.jgss/sun.security.krb5.internal.tools.Kinit.acquire(Kinit.java:248)&lt;BR /&gt;at java.security.jgss/sun.security.krb5.internal.tools.Kinit.&amp;lt;init&amp;gt;(Kinit.java:134)&lt;BR /&gt;at java.security.jgss/sun.security.krb5.internal.tools.Kinit.main(Kinit.java:96)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, when I run simple kinit from&amp;nbsp;C:\Program Files\SASHome\SASPrivateJavaRuntimeEnvironment\9.4\jre\bin&amp;gt;kinit it is suceeded and krb ticket is creating on defalt location.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;we have created the keytab file using below command&lt;/P&gt;&lt;P&gt;ktpass /princ HTTP/webserver.org.com@ORG.com /mapuser ORG\username /crypto AES256-SHA1 /pass ******* /ptype KRB5_NT_PRINCIPAL /out C:\Temp\KeyTab\webserver.org.com.keytab&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and my krb5.ini entries are...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;[libdefaults]&lt;BR /&gt;default_realm = ORG.COM&lt;BR /&gt;forwardable=true&lt;/P&gt;&lt;P&gt;[realms]&lt;BR /&gt;ORG.com = {&lt;BR /&gt;kdc = doamincontroller.org.com&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;[domain_realm]&lt;BR /&gt;org.com= ORG.COM&lt;BR /&gt;.org.com= ORG.COM&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Documentation I am following :&lt;/P&gt;&lt;P&gt;&lt;A href="https://go.documentation.sas.com/doc/en/bicdc/9.4/bimtag/p1871e69gmwdr0n1o182krslc10p.htm" target="_blank" rel="noopener"&gt;https://go.documentation.sas.com/doc/en/bicdc/9.4/bimtag/p1871e69gmwdr0n1o182krslc10p.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you please suggest how I could get around this issue?.&lt;/P&gt;</description>
      <pubDate>Fri, 14 Jul 2023 22:25:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/MidTier-IWA-Connection/m-p/884891#M26937</guid>
      <dc:creator>mkiran</dc:creator>
      <dc:date>2023-07-14T22:25:33Z</dc:date>
    </item>
    <item>
      <title>Re: MidTier : IWA Connection</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/MidTier-IWA-Connection/m-p/885349#M26951</link>
      <description>&lt;P&gt;The error is complaining about the encryption types specified when creating the keytab file.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Your command specified an encryption type of&amp;nbsp;&lt;SPAN&gt;AES256-SHA1. Based on this error, the default_tkt_enctypes configured in krb5.conf/ini does not include that encryption&amp;nbsp; (in this case you aren't specifying this so I'm not sure what default it's using). You could try adding the -e option to your kinit command to specify which encryption type you'd like rather than relying on the default setting.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For example kinit ... -e&amp;nbsp;&lt;SPAN&gt;aes256-cts&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 18 Jul 2023 20:01:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/MidTier-IWA-Connection/m-p/885349#M26951</guid>
      <dc:creator>gwootton</dc:creator>
      <dc:date>2023-07-18T20:01:39Z</dc:date>
    </item>
    <item>
      <title>Re: MidTier : IWA Connection</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/MidTier-IWA-Connection/m-p/886100#M26995</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/78975"&gt;@gwootton&lt;/a&gt;&amp;nbsp;: Issue was with the AD user did not have required encryptions methods enabled, finally got around the issue and moving forward.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, I am testing/validating my connection using the step '&lt;SPAN&gt;(Optional) Validate the Previous Steps" on below page but I am receiving message as I am logging as a public. I do have my user created with both DefaultAuth and web auth domains and metadata is authenticated properly with my user when I tried to login SASStudio client. attached is the error/warning from SASStudio1_1 wrapper.log&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;can you suggest where this could be going wrong?.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SASkira_0-1690207147552.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/86054i3F3904F6207FF1E4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="SASkira_0-1690207147552.png" alt="SASkira_0-1690207147552.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://go.documentation.sas.com/doc/en/bicdc/9.4/bimtag/n1bhp608f0hsoen10i1vi0p9l5f7.htm" target="_blank"&gt;https://go.documentation.sas.com/doc/en/bicdc/9.4/bimtag/n1bhp608f0hsoen10i1vi0p9l5f7.htm&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 24 Jul 2023 14:04:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/MidTier-IWA-Connection/m-p/886100#M26995</guid>
      <dc:creator>mkiran</dc:creator>
      <dc:date>2023-07-24T14:04:08Z</dc:date>
    </item>
    <item>
      <title>Re: MidTier : IWA Connection</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/MidTier-IWA-Connection/m-p/886114#M26997</link>
      <description>This message means authentication was successful but the user lookup in Metadata is not producing a result. As you are able to log in when you manually specify a user ID this suggests the user ID being provided by IWA/Kerberos does not match the user ID you enter manually. You may need to add the realm to the user definition in Metadata:&lt;BR /&gt;&lt;BR /&gt;Windows User ID Formats&lt;BR /&gt;&lt;A href="https://go.documentation.sas.com/doc/en/bicdc/9.4/bisecag/n1xabf7u29o4lfn1l7l8ac7bfxme.htm" target="_blank"&gt;https://go.documentation.sas.com/doc/en/bicdc/9.4/bisecag/n1xabf7u29o4lfn1l7l8ac7bfxme.htm&lt;/A&gt;</description>
      <pubDate>Mon, 24 Jul 2023 16:31:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/MidTier-IWA-Connection/m-p/886114#M26997</guid>
      <dc:creator>gwootton</dc:creator>
      <dc:date>2023-07-24T16:31:04Z</dc:date>
    </item>
    <item>
      <title>Re: MidTier : IWA Connection</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/MidTier-IWA-Connection/m-p/916997#M28039</link>
      <description>&lt;P&gt;enabling required Encryption on the Delegated user fixed the issue&lt;/P&gt;</description>
      <pubDate>Tue, 20 Feb 2024 16:09:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/MidTier-IWA-Connection/m-p/916997#M28039</guid>
      <dc:creator>mkiran</dc:creator>
      <dc:date>2024-02-20T16:09:20Z</dc:date>
    </item>
  </channel>
</rss>

