<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Swapping user profiles</title>
	<atom:link href="http://itknowledgeexchange.techtarget.com/itanswers/swapping-user-profiles/feed/" rel="self" type="application/rss+xml" />
	<link>http://itknowledgeexchange.techtarget.com/itanswers/swapping-user-profiles/</link>
	<description></description>
	<lastBuildDate>Tue, 18 Jun 2013 05:04:47 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
	<item>
		<title>By: teandy</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/swapping-user-profiles/#comment-69616</link>
		<dc:creator>teandy</dc:creator>
		<pubDate>Wed, 28 Oct 2009 15:09:07 +0000</pubDate>
		<guid isPermaLink="false">#comment-69616</guid>
		<description><![CDATA[Since none of this makes since and the cl is already not working, why not try recompiling the cl using user profile AM2000 and USRPRF *OWNER?]]></description>
		<content:encoded><![CDATA[<p>Since none of this makes since and the cl is already not working, why not try recompiling the cl using user profile AM2000 and USRPRF *OWNER?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: tomliotta</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/swapping-user-profiles/#comment-69556</link>
		<dc:creator>tomliotta</dc:creator>
		<pubDate>Tue, 27 Oct 2009 18:36:40 +0000</pubDate>
		<guid isPermaLink="false">#comment-69556</guid>
		<description><![CDATA[Nothing new from me that will help yet. I had coffee last weekend with an ex-IBMer who was heavily involved in the design of the OS/400 version 5 security model and asked if there was any way for USRPRF(*OWNER) to work &lt;i&gt;by itself&lt;/i&gt;. The response was practically identical to mine -- it &lt;b&gt;shouldn&#039;t&lt;/b&gt; have worked. Interest was expressed in any example.

Any chance you have a *FILE server exit program that was in place? Even though the *FILE server doesn&#039;t support adopted authority in itself, I can imagine an exit program maybe being affected by something done by the USRPRF(*OWNER) program, if the coding allowed for it. But even swapping in the exit program is &lt;i&gt;supposed to be&lt;/i&gt; ignored by the *FILE server.

Tom]]></description>
		<content:encoded><![CDATA[<p>Nothing new from me that will help yet. I had coffee last weekend with an ex-IBMer who was heavily involved in the design of the OS/400 version 5 security model and asked if there was any way for USRPRF(*OWNER) to work <i>by itself</i>. The response was practically identical to mine &#8212; it <b>shouldn&#8217;t</b> have worked. Interest was expressed in any example.</p>
<p>Any chance you have a *FILE server exit program that was in place? Even though the *FILE server doesn&#8217;t support adopted authority in itself, I can imagine an exit program maybe being affected by something done by the USRPRF(*OWNER) program, if the coding allowed for it. But even swapping in the exit program is <i>supposed to be</i> ignored by the *FILE server.</p>
<p>Tom</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: tomliotta</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/swapping-user-profiles/#comment-69074</link>
		<dc:creator>tomliotta</dc:creator>
		<pubDate>Thu, 15 Oct 2009 01:40:06 +0000</pubDate>
		<guid isPermaLink="false">#comment-69074</guid>
		<description><![CDATA[&lt;i&gt;There is no profile-swapping “code”...&lt;/i&gt;

Then it never should have worked. I don&#039;t know what else to add on that point. I&#039;ve worked in this area for years and I&#039;ve never seen credentials passing in this way. (We market commercial products for this.)

There is a separation between &#039;authentication&#039; and &#039;authorization&#039;. Ownership and USRPRF(*OWNER) are involved with authorization, but they should not be involved with authentication. If Windows allowed access, then Windows was broken. The credentials being passed would be for the current job user. If current user wasn&#039;t switched to AM2000, then current user will be the job user. Windows should have no way to know who the owner was.

I can&#039;t say it &quot;never worked&quot;. I can only say it &quot;shouldn&#039;t have&quot; worked. I am very willing to dig into the issue. I sure don&#039;t know everything about it. I do, however, have some resources available. If you have a definite code example that you&#039;re &lt;b&gt;sure&lt;/b&gt; worked on V5R3 without switching and you can share it, I&#039;ll run it through some significant V5R3/V5R4 tests to get to the bottom of it.

Tom]]></description>
		<content:encoded><![CDATA[<p><i>There is no profile-swapping “code”&#8230;</i></p>
<p>Then it never should have worked. I don&#8217;t know what else to add on that point. I&#8217;ve worked in this area for years and I&#8217;ve never seen credentials passing in this way. (We market commercial products for this.)</p>
<p>There is a separation between &#8216;authentication&#8217; and &#8216;authorization&#8217;. Ownership and USRPRF(*OWNER) are involved with authorization, but they should not be involved with authentication. If Windows allowed access, then Windows was broken. The credentials being passed would be for the current job user. If current user wasn&#8217;t switched to AM2000, then current user will be the job user. Windows should have no way to know who the owner was.</p>
<p>I can&#8217;t say it &#8220;never worked&#8221;. I can only say it &#8220;shouldn&#8217;t have&#8221; worked. I am very willing to dig into the issue. I sure don&#8217;t know everything about it. I do, however, have some resources available. If you have a definite code example that you&#8217;re <b>sure</b> worked on V5R3 without switching and you can share it, I&#8217;ll run it through some significant V5R3/V5R4 tests to get to the bottom of it.</p>
<p>Tom</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: whatis23</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/swapping-user-profiles/#comment-69016</link>
		<dc:creator>whatis23</dc:creator>
		<pubDate>Tue, 13 Oct 2009 23:20:29 +0000</pubDate>
		<guid isPermaLink="false">#comment-69016</guid>
		<description><![CDATA[I setup QNTC a few months ago and it is now being used extensively. Since it appears everything is setup up correctly with AM2000 as the OWNER and USRPRF(*OWNER), I would try looking at the programs and menus wrapped around it. Is it reading from the correct library and not, for example, QRPLOBJ? Or if it&#039;s using a command from the menu, is that set to the correct library that the program is complied in? Sorry but there isn&#039;t much i can think of since it does work manually.]]></description>
		<content:encoded><![CDATA[<p>I setup QNTC a few months ago and it is now being used extensively. Since it appears everything is setup up correctly with AM2000 as the OWNER and USRPRF(*OWNER), I would try looking at the programs and menus wrapped around it. Is it reading from the correct library and not, for example, QRPLOBJ? Or if it&#8217;s using a command from the menu, is that set to the correct library that the program is complied in? Sorry but there isn&#8217;t much i can think of since it does work manually.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: choyle</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/swapping-user-profiles/#comment-68977</link>
		<dc:creator>choyle</dc:creator>
		<pubDate>Tue, 13 Oct 2009 11:23:30 +0000</pubDate>
		<guid isPermaLink="false">#comment-68977</guid>
		<description><![CDATA[Let&#039;s focus on one CL program that was previously compiled by AM2000 with USRPRF(*OWNER) and AUT(*ALL). This is our standard for cross-network functions, due to user AM2000 being the only iSeries USRPRF that is also a network user name (with the same password). The CL simply executes a CPYFRMIMPF using a QNTC path to copy a network file to a PF on the iSeries. This has always worked for any user given a menu option that calls the CL. User AM2000 can still today log on and manually execute the same CPYFRMIMPF command, but now when other users run the menu option, they get a hard error that their own profile name had an issue exchanging credentials with the network. And of course their own profile name WOULD have a problem; but up until now their job always executed the CL &quot;as AM2000&quot;. There is no profile-swapping &quot;code&quot; in the program itself; I assumed up until now that the authority somehow came from the way the CL object was compiled, but since that hasn&#039;t changed, I don&#039;t know what has... We did move to V5R4 since the CL was last compiled, but that may be unrelated; it&#039;s just the only thing I can think of that is different.]]></description>
		<content:encoded><![CDATA[<p>Let&#8217;s focus on one CL program that was previously compiled by AM2000 with USRPRF(*OWNER) and AUT(*ALL). This is our standard for cross-network functions, due to user AM2000 being the only iSeries USRPRF that is also a network user name (with the same password). The CL simply executes a CPYFRMIMPF using a QNTC path to copy a network file to a PF on the iSeries. This has always worked for any user given a menu option that calls the CL. User AM2000 can still today log on and manually execute the same CPYFRMIMPF command, but now when other users run the menu option, they get a hard error that their own profile name had an issue exchanging credentials with the network. And of course their own profile name WOULD have a problem; but up until now their job always executed the CL &#8220;as AM2000&#8243;. There is no profile-swapping &#8220;code&#8221; in the program itself; I assumed up until now that the authority somehow came from the way the CL object was compiled, but since that hasn&#8217;t changed, I don&#8217;t know what has&#8230; We did move to V5R4 since the CL was last compiled, but that may be unrelated; it&#8217;s just the only thing I can think of that is different.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: tomliotta</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/swapping-user-profiles/#comment-68972</link>
		<dc:creator>tomliotta</dc:creator>
		<pubDate>Tue, 13 Oct 2009 03:14:32 +0000</pubDate>
		<guid isPermaLink="false">#comment-68972</guid>
		<description><![CDATA[For us to understand -- how do you know that AM2000 has the necessary authority? Can you show us the special authorities assigned to the AM2000 *USRPRF? Can you show us the detail authorities that AM2000 has to the AM2000 *USRPRF object itself? And did you check to see if AM2000 is *ENABLED? (Hmmm... I&#039;ve never checked to see if a profile must be NetServer/LAN *ENABLED for outbound /QNTC access. Maybe you should check that if nothing else works.)

I&#039;m not aware of any related API changes between V5R3 and V5R4. Depending on your program, code some changes might alter how the program responds to various events. A message-handler, for example, might run under the job profile rather than under the authority of AM2000.

If the program isn&#039;t changing the current user, then clearly there is an error in how the program does the swapping. Either the program has changed, or there are authorities missing. Regardless, the program &lt;b&gt;should&lt;/b&gt; report its failure, but that would normally be by returning an escape message to the calling program. The joblog would normally contain that message.

Does the program switch to AM2000 by supplying the password for AM2000? Or does it use the &#039;*NOPWD&#039; special value? 

Tom]]></description>
		<content:encoded><![CDATA[<p>For us to understand &#8212; how do you know that AM2000 has the necessary authority? Can you show us the special authorities assigned to the AM2000 *USRPRF? Can you show us the detail authorities that AM2000 has to the AM2000 *USRPRF object itself? And did you check to see if AM2000 is *ENABLED? (Hmmm&#8230; I&#8217;ve never checked to see if a profile must be NetServer/LAN *ENABLED for outbound /QNTC access. Maybe you should check that if nothing else works.)</p>
<p>I&#8217;m not aware of any related API changes between V5R3 and V5R4. Depending on your program, code some changes might alter how the program responds to various events. A message-handler, for example, might run under the job profile rather than under the authority of AM2000.</p>
<p>If the program isn&#8217;t changing the current user, then clearly there is an error in how the program does the swapping. Either the program has changed, or there are authorities missing. Regardless, the program <b>should</b> report its failure, but that would normally be by returning an escape message to the calling program. The joblog would normally contain that message.</p>
<p>Does the program switch to AM2000 by supplying the password for AM2000? Or does it use the &#8216;*NOPWD&#8217; special value? </p>
<p>Tom</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: choyle</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/swapping-user-profiles/#comment-68937</link>
		<dc:creator>choyle</dc:creator>
		<pubDate>Mon, 12 Oct 2009 11:39:57 +0000</pubDate>
		<guid isPermaLink="false">#comment-68937</guid>
		<description><![CDATA[Thanks to everyone for your responses, and sorry - I may not have made the issue clear enough... AM2000 does still have all the authority necessary. It&#039;s just that suddenly the jobs are running &quot;as the user&quot; instead of &quot;as AM2000&quot;, although we haven&#039;t changed anything in the programming except to recompile the CL with parms USRPRF(*OWNER) and AUT(*ALL), which has always been our standard for CL programs. We are now getting an error because the user is NOT authorized to the share (deliberately). Also, QUSEADPAUT is still set to AUTL(*NONE) as it always has been. Still need help if anyone has any other ideas... Thanks again!]]></description>
		<content:encoded><![CDATA[<p>Thanks to everyone for your responses, and sorry &#8211; I may not have made the issue clear enough&#8230; AM2000 does still have all the authority necessary. It&#8217;s just that suddenly the jobs are running &#8220;as the user&#8221; instead of &#8220;as AM2000&#8243;, although we haven&#8217;t changed anything in the programming except to recompile the CL with parms USRPRF(*OWNER) and AUT(*ALL), which has always been our standard for CL programs. We are now getting an error because the user is NOT authorized to the share (deliberately). Also, QUSEADPAUT is still set to AUTL(*NONE) as it always has been. Still need help if anyone has any other ideas&#8230; Thanks again!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: tomliotta</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/swapping-user-profiles/#comment-68909</link>
		<dc:creator>tomliotta</dc:creator>
		<pubDate>Sat, 10 Oct 2009 05:21:38 +0000</pubDate>
		<guid isPermaLink="false">#comment-68909</guid>
		<description><![CDATA[First thing to try is simply to logon as AM2000 at your AS/400 and test access to the share with WRKLNK &#039;/qntc/servername/sharename&#039;. If that doesn&#039;t work, go the the PC (or server) and check if AM2000 can logon there -- with the same password, of course. The two logons tell part of the story, and the WRKLNK tells more about the networking aspect.

If either logon fails, then the fix should become obvious from the resulting messages. If WRKLNK fails to find the server or the share, then a path to determine the fix would be indicated. If WRKLNK locates the share but doesn&#039;t give access, then permissions ought to be looked at.

Try the sequence and come back with results. Note that it might simply be that appropriate V5R4 PTFs aren&#039;t loaded/applied yet.

Tom]]></description>
		<content:encoded><![CDATA[<p>First thing to try is simply to logon as AM2000 at your AS/400 and test access to the share with WRKLNK &#8216;/qntc/servername/sharename&#8217;. If that doesn&#8217;t work, go the the PC (or server) and check if AM2000 can logon there &#8212; with the same password, of course. The two logons tell part of the story, and the WRKLNK tells more about the networking aspect.</p>
<p>If either logon fails, then the fix should become obvious from the resulting messages. If WRKLNK fails to find the server or the share, then a path to determine the fix would be indicated. If WRKLNK locates the share but doesn&#8217;t give access, then permissions ought to be looked at.</p>
<p>Try the sequence and come back with results. Note that it might simply be that appropriate V5R4 PTFs aren&#8217;t loaded/applied yet.</p>
<p>Tom</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using memcached
Database Caching 6/9 queries in 0.012 seconds using memcached
Object Caching 366/369 objects using memcached

Served from: itknowledgeexchange.techtarget.com @ 2013-06-18 05:06:27 -->