CPF4207 -Authorization failure on DDM TCP/IP connection attempt

I am getting an error MSG CPF4207 with reason code 6 (User ID not valid. For a iseries  server this could mean a damaged user profile or PASSWORD(*NONE)) . But when I check to User Id in the remote System-B that userid is good .This particular User id is not Present in another system-A  Where the actual Physical File Exist.
I have created that same User Id in System-A, this problem Fixed I not getting this error any more.
The problem is We cannot create all the available user Id in System-B to System-A.  Is there any way to Solve this problem like Compiling the PGM with *CALLER  Things like that .

If you need any more Explanation Please let me know.

Thanks
MW
midwestexpAsked:
Who is Participating?
 
_b_hConnect With a Mentor Commented:
Hi, MW
You can add a server authentication entry for each user on the source system (using a program) that will allow them all to use the same user on the target system.
You need to set QRETSVRSEC to 1 if passwords are required on the source system.

The command looks like:
ADDSVRAUTE USRPRF(localuser) SERVER(remotedatabase) USRID(remoteuser)

Details, including the source for the program that adds the entries, are at:
http://www-912.ibm.com/s_dir/slkbase.nsf/643d2723f2907f0b8625661300765a2a/9e61c67ade70359986256afd007cc9f1?OpenDocument

Post back any questions!
bh
0
 
midwestexpAuthor Commented:
Hi BH,
Source System means  the system where DDM resides,
Target System Means the system where PF resides,  am i right ?

According  to this Docement i have to have one userid In the Target System(PF)
and use ADDSVRAUTE  for all the required user in Source System  who are all goin to use that DDM in the Target System.

"set QRETSVRSEC to 1 if passwords are required on the source system"  Please explain this to me where to set and what do you mean passwords are required

TIA
MW
0
 
_b_hCommented:
You can WRKSYSVAL QRETSVRSEC then option 5 to display it and 2 to change it.
Yes the source is where the DDM file is and the target is where the pf lives.
Barry
0
 
midwestexpAuthor Commented:
Thank youuuuuuuuuuuuuuuuuuuuuuuuuuu
MW
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.