<?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: Credentials Not Passed to Connect Spawner When Using IWA in Administration and Deployment</title>
    <link>https://communities.sas.com/t5/Administration-and-Deployment/Credentials-Not-Passed-to-Connect-Spawner-When-Using-IWA/m-p/940667#M28873</link>
    <description>Have you engaged SAS Technical Support? Looks like your code isn't calling the Connect Spawner but using SASCMD to fork an MP CONNECT session off of the Workspace Server. I wonder if adding user=_sspi_ to your rsubmit would help.&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Fri, 23 Aug 2024 20:51:12 GMT</pubDate>
    <dc:creator>gwootton</dc:creator>
    <dc:date>2024-08-23T20:51:12Z</dc:date>
    <item>
      <title>Credentials Not Passed to Connect Spawner When Using IWA</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Credentials-Not-Passed-to-Connect-Spawner-When-Using-IWA/m-p/939022#M28836</link>
      <description>&lt;P&gt;Scenario:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;SAS 9.4 M8 in Windows Server 2022 x64&lt;/LI&gt;&lt;LI&gt;SAS EG 8.4 on Windows 10 x64&lt;/LI&gt;&lt;LI&gt;All hosts are in the same AD forest/domain&lt;/LI&gt;&lt;LI&gt;SAS was configured during installation for Integrated Windows Authentication (IWA), using a plan file recently produced by SAS engineers (our previous one didn't include SAS/CONNECT).&lt;/LI&gt;&lt;LI&gt;SASMeta - Logical Metadata Server is configured for Host authentication, Security Package = Kerberos&lt;UL&gt;&lt;LI&gt;- sspi option is part of the service startup arguments&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;SASApp - Logical Workspace Server is configured for Host authentication, Security Package = Kerberos&lt;/LI&gt;&lt;LI&gt;Connection: Connect Spawner is configured for Integrated Windows Authentication, DefaultAuth domain&lt;BR /&gt;&lt;UL&gt;&lt;LI&gt;Connect Spawner servide includes &lt;EM&gt;-sspi REG_NONE&lt;/EM&gt; in its Parameters key&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;Object Spawner includes &lt;EM&gt;-sspi REG_NONE&lt;/EM&gt; in its Parameters key&lt;/LI&gt;&lt;LI&gt;Kerberos Constrained Delegation (KCD) is configured and working for all other SAS usage (remote SQL, file shares).&lt;/LI&gt;&lt;LI&gt;The library in the LIBNAME statement is an ODBC connection to a database on a remote MS-SQL server that authenticates using domain credentials.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;When EG clients connect to SAS using stored credentials, &lt;FONT color="#339966"&gt;&lt;EM&gt;the following code works as intended&lt;/EM&gt;&lt;/FONT&gt;.&lt;/P&gt;&lt;P&gt;When EG clients connect to SAS using IWA, the code fails with &lt;FONT color="#FF0000"&gt;ERROR: CLI error trying to establish connection: [Microsoft][ODBC Driver 18 for SQL Server][SQL Server]Login failed for user 'NT&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;AUTHORITY\ANONYMOUS LOGON'.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;All other code works as desired, regardless of EG authentication. This leads me to believe that there's a post-setup SAS/CONNECT configuration I've missed, but I can't seem to locate it.&lt;/P&gt;&lt;P&gt;TIA,&lt;BR /&gt;Jim&lt;BR /&gt;SAS Admin, Central WA Univ&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;OPTIONS AUTOSIGNON=Yes SASCMD="!sascmd";

%LET StuCenLib =;
%LET StuEndLib =;

rsubmit task1 wait=no sysrputsync=yes;

	LIBNAME SS META LIBRARY="Static_Store";
	data Student_Census;
		set SS.STU_Student_Census;
	run;
	%sysrput StuCenLib=%sysfunc(pathname(work));
	%sysrput task1code = &amp;amp;sysinfo;
	LIBNAME SS CLEAR;

endrsubmit;

%PUT NOTE: %DateTimeStamp First data step began;


rsubmit task2 wait=no sysrputsync=yes;

	LIBNAME SS META LIBRARY="Static_Store";
	data Student_End;
		set SS.STU_Student_End;
	run;
	%sysrput StuEndLib=%sysfunc(pathname(work));
	%sysrput task2code = &amp;amp;sysinfo;
	LIBNAME SS CLEAR;

endrsubmit;

%PUT NOTE: %DateTimeStamp Second data step began;

waitfor _all_ task1 task2;
%PUT NOTE: %DateTimeStamp All data steps ended;
rget process=task1;
rget process=task2;

%PUT StuCenLib = &amp;amp;StuCenLib, StuEndLib = &amp;amp;StuEndLib;
%PUT Task1Code = &amp;amp;Task1Code, Task2Code = &amp;amp;Task2Code;

LIBNAME StuCen "&amp;amp;StuCenLib";
LIBNAME StuEnd "&amp;amp;StuEndLib";

%PUT NOTE: %DateTimeStamp Proc sql began;
proc sql;
	CREATE TABLE Cen_End AS 
		SELECT
			sc.STRM
			, sc.EMPLID
		FROM StuCen.Student_Census AS sc
			LEFT JOIN StuEnd.Student_End AS se
				ON se.STRM = sc.STRM
				AND se.EMPLID = sc.EMPLID
		WHERE missing(se.EMPLID)
	;
quit;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 12 Aug 2024 22:04:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Credentials-Not-Passed-to-Connect-Spawner-When-Using-IWA/m-p/939022#M28836</guid>
      <dc:creator>JimmyJoeBob</dc:creator>
      <dc:date>2024-08-12T22:04:17Z</dc:date>
    </item>
    <item>
      <title>Re: Credentials Not Passed to Connect Spawner When Using IWA</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Credentials-Not-Passed-to-Connect-Spawner-When-Using-IWA/m-p/940187#M28856</link>
      <description>&lt;P&gt;We've just been through a similar exercise ourselves, trying to get IWA and SSO going across all SAS clients and interfaces. This might be one thing you have missed and most likely need:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://documentation.sas.com/doc/en/bicdc/9.4/bisecag/p1uhz7klzwwvr8n1r51h0nhcw2zm.htm#n0m06lk1td9pi3n1cn3yzv0t7hfs" target="_blank"&gt;SAS Help Center: Windows Privileges&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When your Connect Spawner runs under your server's local system account, then the above configuration must be done.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 21 Aug 2024 03:43:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Credentials-Not-Passed-to-Connect-Spawner-When-Using-IWA/m-p/940187#M28856</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2024-08-21T03:43:04Z</dc:date>
    </item>
    <item>
      <title>Re: Credentials Not Passed to Connect Spawner When Using IWA</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Credentials-Not-Passed-to-Connect-Spawner-When-Using-IWA/m-p/940311#M28857</link>
      <description>&lt;P&gt;Hm...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;That was exactly what I asked our domain admins to do, but in reviewing the servers' delegation settings, I see that they set "Use any authentication protocol," not "Use Kerberos only" (I can view, but not change things in Active Directory Users and Computers).&lt;/P&gt;&lt;P&gt;Interesting that it works for everything except rsubmit...&lt;/P&gt;&lt;P&gt;I'll have them change this in my TST environment and see what shakes out.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;T'anxQ!&lt;/P&gt;</description>
      <pubDate>Wed, 21 Aug 2024 14:38:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Credentials-Not-Passed-to-Connect-Spawner-When-Using-IWA/m-p/940311#M28857</guid>
      <dc:creator>JimmyJoeBob</dc:creator>
      <dc:date>2024-08-21T14:38:11Z</dc:date>
    </item>
    <item>
      <title>Re: Credentials Not Passed to Connect Spawner When Using IWA</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Credentials-Not-Passed-to-Connect-Spawner-When-Using-IWA/m-p/940317#M28858</link>
      <description>&lt;P&gt;..actually...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I just reviewed the docs I referenced in the PowerShell script I built for them, and &lt;A href="https://go.documentation.sas.com/doc/en/bicdc/9.4/bisecag/p1jg2eif6qym5qn1co79sdclcyt7.htm" target="_blank"&gt;https://go.documentation.sas.com/doc/en/bicdc/9.4/bisecag/p1jg2eif6qym5qn1co79sdclcyt7.htm&lt;/A&gt; says to set it as "Use any authentication protocol."&lt;/P&gt;&lt;P&gt;I thought I "smelled" an apparent disconnect in the SAS admin docs, but this discussion brought it together for me.&lt;/P&gt;&lt;P&gt;I'll let you know what happens.&lt;/P&gt;</description>
      <pubDate>Wed, 21 Aug 2024 14:49:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Credentials-Not-Passed-to-Connect-Spawner-When-Using-IWA/m-p/940317#M28858</guid>
      <dc:creator>JimmyJoeBob</dc:creator>
      <dc:date>2024-08-21T14:49:27Z</dc:date>
    </item>
    <item>
      <title>Re: Credentials Not Passed to Connect Spawner When Using IWA</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Credentials-Not-Passed-to-Connect-Spawner-When-Using-IWA/m-p/940628#M28867</link>
      <description>&lt;P&gt;Hello &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/435629"&gt;@JimmyJoeBob&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;I see this in the first post "&lt;FONT color="#FF0000"&gt;ERROR: CLI error trying to establish connection: [Microsoft][ODBC Driver 18 for SQL Server][SQL Server]Login failed for user 'NT&lt;/FONT&gt;&lt;FONT color="#FF0000"&gt;AUTHORITY\ANONYMOUS LOGON'.&lt;/FONT&gt;"&lt;BR /&gt;This is an expected behavior. &lt;BR /&gt;SQL server needs credential to&amp;nbsp; allow connection. &lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 23 Aug 2024 14:49:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Credentials-Not-Passed-to-Connect-Spawner-When-Using-IWA/m-p/940628#M28867</guid>
      <dc:creator>Sajid01</dc:creator>
      <dc:date>2024-08-23T14:49:00Z</dc:date>
    </item>
    <item>
      <title>Re: Credentials Not Passed to Connect Spawner When Using IWA</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Credentials-Not-Passed-to-Connect-Spawner-When-Using-IWA/m-p/940632#M28868</link>
      <description>&lt;P&gt;Sajid,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As I outlined, SAS and the client are configured for Integrated Windows Authentication (IWA) and SAS and Active Directory are configured for Kerberos Constrained Delegation (KCD). This configuration works for every other use case &lt;EM&gt;except rsubmit. &lt;/EM&gt;Calls to rsubmit work when the client is authenticated using stored credentials, which, from a security perspective is suboptimal.&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;Thx,&lt;/P&gt;</description>
      <pubDate>Fri, 23 Aug 2024 15:03:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Credentials-Not-Passed-to-Connect-Spawner-When-Using-IWA/m-p/940632#M28868</guid>
      <dc:creator>JimmyJoeBob</dc:creator>
      <dc:date>2024-08-23T15:03:44Z</dc:date>
    </item>
    <item>
      <title>Re: Credentials Not Passed to Connect Spawner When Using IWA</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Credentials-Not-Passed-to-Connect-Spawner-When-Using-IWA/m-p/940667#M28873</link>
      <description>Have you engaged SAS Technical Support? Looks like your code isn't calling the Connect Spawner but using SASCMD to fork an MP CONNECT session off of the Workspace Server. I wonder if adding user=_sspi_ to your rsubmit would help.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 23 Aug 2024 20:51:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Credentials-Not-Passed-to-Connect-Spawner-When-Using-IWA/m-p/940667#M28873</guid>
      <dc:creator>gwootton</dc:creator>
      <dc:date>2024-08-23T20:51:12Z</dc:date>
    </item>
    <item>
      <title>Re: Credentials Not Passed to Connect Spawner When Using IWA</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Credentials-Not-Passed-to-Connect-Spawner-When-Using-IWA/m-p/941479#M28900</link>
      <description>gwootton, you're correct about how this is working, and I'm working through email troubleshooting with SAS support. The good news is that I'm able to repro this in my home lab, so it doesn't seem to be something with our domain.</description>
      <pubDate>Wed, 28 Aug 2024 15:59:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Credentials-Not-Passed-to-Connect-Spawner-When-Using-IWA/m-p/941479#M28900</guid>
      <dc:creator>JimmyJoeBob</dc:creator>
      <dc:date>2024-08-28T15:59:59Z</dc:date>
    </item>
    <item>
      <title>Re: Credentials Not Passed to Connect Spawner When Using IWA</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Credentials-Not-Passed-to-Connect-Spawner-When-Using-IWA/m-p/941572#M28903</link>
      <description>&lt;P&gt;My domain admins changed the delegation to "Trust this computer for delegation to any service (Kerberos only)" and saw no change in MPCONNECT behavior. That's mildly encouraging!&lt;/P&gt;</description>
      <pubDate>Wed, 28 Aug 2024 21:47:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Credentials-Not-Passed-to-Connect-Spawner-When-Using-IWA/m-p/941572#M28903</guid>
      <dc:creator>JimmyJoeBob</dc:creator>
      <dc:date>2024-08-28T21:47:14Z</dc:date>
    </item>
    <item>
      <title>Re: Credentials Not Passed to Connect Spawner When Using IWA</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Credentials-Not-Passed-to-Connect-Spawner-When-Using-IWA/m-p/978918#M30452</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Did you solve your problem?&lt;/P&gt;&lt;P&gt;I'm experiencing similar problems, so if you ever found a solution it would be a great help if you could share.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you in advance.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;/Christian&lt;/P&gt;</description>
      <pubDate>Mon, 17 Nov 2025 07:23:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Credentials-Not-Passed-to-Connect-Spawner-When-Using-IWA/m-p/978918#M30452</guid>
      <dc:creator>CHandberg</dc:creator>
      <dc:date>2025-11-17T07:23:02Z</dc:date>
    </item>
  </channel>
</rss>

