<?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: Authorization errors  post Integrated Windows Authentication in Administration and Deployment</title>
    <link>https://communities.sas.com/t5/Administration-and-Deployment/Authorization-errors-post-Integrated-Windows-Authentication/m-p/985948#M30769</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;yes, spn(cifs/aliases) are defined on CN=Host and we delegated the same to service account.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 03 Apr 2026 20:00:10 GMT</pubDate>
    <dc:creator>kumarsandip975</dc:creator>
    <dc:date>2026-04-03T20:00:10Z</dc:date>
    <item>
      <title>Authorization errors  post Integrated Windows Authentication</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Authorization-errors-post-Integrated-Windows-Authentication/m-p/985084#M30753</link>
      <description>&lt;P&gt;Dear All,&lt;BR /&gt;Recently, we implemented IWA authentication on our SAS 9.4 running on windows server.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We do use NTFS , and when user is trying to access shared file from libname, getting error.&amp;nbsp;&lt;/P&gt;
&lt;DIV id="tinyMceEditorkumarsandip975_0" class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV id="tinyMceEditorkumarsandip975_1" class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV id="tinyMceEditorkumarsandip975_2" class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV id="tinyMceEditorkumarsandip975_3" class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV class="sasSource"&gt;73 libname lib1 "\\aSASXXX-xxx1.xxx.xx\SASSTU_xxx_xxx";&lt;/DIV&gt;
&lt;DIV id="sasLogError1_1774045629632" class="sasError"&gt;ERROR: User does not have appropriate authorization level for library LIB1.&lt;/DIV&gt;
&lt;DIV id="sasLogError2_1774045629632" class="sasError"&gt;ERROR: Error in the LIBNAME statement.&lt;BR /&gt;&lt;BR /&gt;I was going through this post :&amp;nbsp;&lt;A href="https://support.sas.com/kb/41/477.html" target="_blank"&gt;41477 - Authorization errors can occur when you use Integrated Windows Authentication&lt;/A&gt;&lt;BR /&gt;As suggested, I tried to add spn's &lt;STRONG&gt;cifs/myfileshare and delegate my service account on AD as object spawner is ruuning with service account, but still having same issues.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/STRONG&gt;Could you please suggest if I missing anything.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Only difference is my SPN and delegation as CIFS/ , is it a case sensitive?&lt;BR /&gt;
&lt;DIV id="tinyMceEditorkumarsandip975_4" class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/DIV&gt;
&lt;DIV class="sasError"&gt;&amp;nbsp;&lt;/DIV&gt;</description>
      <pubDate>Fri, 20 Mar 2026 22:49:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Authorization-errors-post-Integrated-Windows-Authentication/m-p/985084#M30753</guid>
      <dc:creator>kumarsandip975</dc:creator>
      <dc:date>2026-03-20T22:49:32Z</dc:date>
    </item>
    <item>
      <title>Re: Authorization errors  post Integrated Windows Authentication</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Authorization-errors-post-Integrated-Windows-Authentication/m-p/985098#M30754</link>
      <description>&lt;P&gt;What SAS user interface is used here? If it is Enterprise Guide, then change your EG server connection to not use IWA (just Windows account and password) and test the same LIBNAME again. If this works then the problem is with IWA and SPNs for the storage being accessed. If it doesn't work then the problem is with the Windows account permissions on the folders in the LIBNAME and has nothing to do with IWA.&lt;/P&gt;</description>
      <pubDate>Sun, 22 Mar 2026 05:26:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Authorization-errors-post-Integrated-Windows-Authentication/m-p/985098#M30754</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2026-03-22T05:26:10Z</dc:date>
    </item>
    <item>
      <title>Re: Authorization errors  post Integrated Windows Authentication</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Authorization-errors-post-Integrated-Windows-Authentication/m-p/985101#M30755</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13976"&gt;@SASKiwi&lt;/a&gt;&amp;nbsp;We are using SAS Studio, before IWA implementation, it was working. We have no issue with access.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;libname lib1 "\\aSASxxxt-srv1.xxxt.xx\SASSTU_xxx_DATA";&amp;nbsp;&lt;BR /&gt;&lt;STRONG&gt;libname lib1 "\\xxxxxxx.xxx001.xx.xxx.xxx\SASSTU_xxx_DATA";&amp;nbsp;&amp;nbsp;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;libname lib1 "\\10.xxx.00.xx\SASSTU_xxx_DATA";&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When I tried with name and address , it worked , but not with alias.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Note: Alias path we are able to access from local pc file explorer, as we have given share access to everyone, and it should work from SAS Studio.&amp;nbsp;&lt;/P&gt;
&lt;DIV id="tinyMceEditorkumarsandip975_0" class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="screen22march.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/113729i0C6E80187D9BC2EF/image-size/medium?v=v2&amp;amp;px=400" role="button" title="screen22march.png" alt="screen22march.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV id="tinyMceEditorkumarsandip975_1" class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2026-03-22 110807.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/113730iC00B4C40540CD294/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screenshot 2026-03-22 110807.png" alt="Screenshot 2026-03-22 110807.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt; &lt;/P&gt;
&lt;P&gt; &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 22 Mar 2026 10:14:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Authorization-errors-post-Integrated-Windows-Authentication/m-p/985101#M30755</guid>
      <dc:creator>kumarsandip975</dc:creator>
      <dc:date>2026-03-22T10:14:40Z</dc:date>
    </item>
    <item>
      <title>Re: Authorization errors  post Integrated Windows Authentication</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Authorization-errors-post-Integrated-Windows-Authentication/m-p/985632#M30764</link>
      <description>Is there an SPN defined for the alias (cifs/&amp;lt;alias&amp;gt;, assigned to the account for the host that is hosting the file share? &lt;BR /&gt;If so, is delegation allowed to that SPN?</description>
      <pubDate>Mon, 30 Mar 2026 14:53:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Authorization-errors-post-Integrated-Windows-Authentication/m-p/985632#M30764</guid>
      <dc:creator>gwootton</dc:creator>
      <dc:date>2026-03-30T14:53:37Z</dc:date>
    </item>
    <item>
      <title>Re: Authorization errors  post Integrated Windows Authentication</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Authorization-errors-post-Integrated-Windows-Authentication/m-p/985948#M30769</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;yes, spn(cifs/aliases) are defined on CN=Host and we delegated the same to service account.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 03 Apr 2026 20:00:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Authorization-errors-post-Integrated-Windows-Authentication/m-p/985948#M30769</guid>
      <dc:creator>kumarsandip975</dc:creator>
      <dc:date>2026-04-03T20:00:10Z</dc:date>
    </item>
    <item>
      <title>Re: Authorization errors  post Integrated Windows Authentication</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Authorization-errors-post-Integrated-Windows-Authentication/m-p/986170#M30777</link>
      <description>I ran into a similar issue recently and the issue ended up being that the computer account (not the service account) where the SAS job was running needed delegation permitted to the CIFS SPN.</description>
      <pubDate>Fri, 10 Apr 2026 13:00:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Authorization-errors-post-Integrated-Windows-Authentication/m-p/986170#M30777</guid>
      <dc:creator>gwootton</dc:creator>
      <dc:date>2026-04-10T13:00:09Z</dc:date>
    </item>
    <item>
      <title>Re: Authorization errors  post Integrated Windows Authentication</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Authorization-errors-post-Integrated-Windows-Authentication/m-p/986319#M30786</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;Should I consider below setting registering SPN's and delegation?&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;DIV&gt;1. Registering SPN's -&lt;/DIV&gt;
&lt;DIV&gt;1.1. Where to register SPN's - user object or computer object? - &lt;STRONG&gt;computer object.&lt;/STRONG&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;1.2. Why ?&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;These are file servers,&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;SMB/CIFS services run under LocalSystem.&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;2. Delegation SPN's -&lt;/DIV&gt;
&lt;DIV&gt;2.1. As SAS Object Spawner service is running with service account.&amp;nbsp;&lt;SPAN&gt;Delegation always should on the ACCOUNT THAT STARTS THE CONNECTION, and If delegation is needed, configure constrained delegation.&lt;/SPAN&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 13 Apr 2026 21:52:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Authorization-errors-post-Integrated-Windows-Authentication/m-p/986319#M30786</guid>
      <dc:creator>kumarsandip975</dc:creator>
      <dc:date>2026-04-13T21:52:25Z</dc:date>
    </item>
    <item>
      <title>Re: Authorization errors  post Integrated Windows Authentication</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Authorization-errors-post-Integrated-Windows-Authentication/m-p/986344#M30787</link>
      <description>In my case, the "account that starts the connection" was the computer account where SAS was running despite the launcher of sas, the object spawner, running as a service account. So, it was necessary to trust for delegation from the computer account to the cifs/file-server SPN.</description>
      <pubDate>Tue, 14 Apr 2026 16:10:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Authorization-errors-post-Integrated-Windows-Authentication/m-p/986344#M30787</guid>
      <dc:creator>gwootton</dc:creator>
      <dc:date>2026-04-14T16:10:00Z</dc:date>
    </item>
  </channel>
</rss>

