[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 4708
  • Last Modified:

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
0
midwestexp
Asked:
midwestexp
  • 2
  • 2
1 Solution
 
_b_hCommented:
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

Featured Post

Free Backup Tool for VMware and Hyper-V

Restore full virtual machine or individual guest files from 19 common file systems directly from the backup file. Schedule VM backups with PowerShell scripts. Set desired time, lean back and let the script to notify you via email upon completion.  

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now