It does work as you tell to run it, only that I wanted to do it only in one line, both process, but I will do it as you showed to me.
Original Message:
Sent: Wed August 28, 2024 04:56 AM
From: Satid S
Subject: Using cached/scripted credentials to enter a 5250 emulator session
Dear Santiago
>>>> Yes, when you use the /PLUGIN=logon the authentication process works, but I does not open the terminal emulation by itself. You have to do another job to open it. What i mean is that it does not authenticate with the /PLUGIN=5250 which is what I want to do it. <<<<
I did a test from my Windows PC as follows:
- open Windows command line session
- change current directory to \<ACS folder>\Start_Programs\Windows_x86-64\
- run this: acslaunch_win-64.exe /plugin=logon /system=*** /userid=username /password=password
- I am notified that the function completed successfully.
- run this: acslaunch_win-64.exe /plugin=5250 /system=*** /nosave /wide
- I get a 5250 session without being asked to provide any user+password
I ask you to do this test and see if you have a problem or not. If you encounter the problem, then something in your Windows environment may be the cause.
Do you use a company-supplied Windows PC that is more likely managed by your company-deployed Group Policy? In the past when I used my company-supplied Windows PC, I could not do some professional operations that I needed to do and I was told I had to seek approval for exemption from standard Group Policy. I did and then was able to do what I needed to do in my company-supplied PC. Are you in this same situation?
------------------------------
Satid S
Original Message:
Sent: Tue August 27, 2024 01:58 PM
From: Santiago Avila
Subject: Using cached/scripted credentials to enter a 5250 emulator session
Hi Satid S,
Yes, when you use the /PLUGIN=logon the authentication process works, but I does not open the terminal emulation by itself. You have to do another job to open it. What i mean is that it does not authenticate with the /PLUGIN=5250 which is what I want to do it.
Regards,
Santiago
------------------------------
Santiago Avila
Original Message:
Sent: Tue July 16, 2024 02:28 AM
From: Satid S
Subject: Using cached/scripted credentials to enter a 5250 emulator session
Dear Santiago
Would Roberto Colonnese's post below work for you? He uses C:\Users\amministrativo4\IBM\ClientSolutions\Start_Programs\Windows_i386-32\acslaunch_win-32.exe /PLUGIN=logon /AUTH /SYSTEM=xxx.xxx.xxx.xxx /USERID=xxxxx /PASSWORD=xxxxxx /GUI=2
------------------------------
Satid S
Original Message:
Sent: Thu July 11, 2024 01:27 PM
From: Santiago Avila
Subject: Using cached/scripted credentials to enter a 5250 emulator session
Hi Satid Singkorapoom,
I was able to automate the login process with the following command line.
C:\Users\Public\IBM\ClientSolutions\Start_Programs\Windows_x86-64\acslaunch_win-64.exe /PLUGIN=logon /AUTH /SYSTEM=SYSTEM1 /USERID=USERXX /PASSWORD=XXXXXXXX /GUI=0 & C:\Users\Public\IBM\ClientSolutions\Start_Programs\Windows_x86-64\acslaunch_win-64.exe C:\Users\Administrador\Documents\IBM\iAccessClient\Emulator\KYWICDS.hod
I tried with following comand but it didn't work because i got a meesage saying that user and password are invalid parameter
C:\Users\aPublic \IBM\ClientSolutions\Start_Programs\Windows_i386-64\acslaunch_win-64.exe /PLUGIN=logon /AUTH /SYSTEM=SYSTEM1 /USERID=USERXX /PASSWORD=xxxxxx /GUI=0 /PLUGIN=5250
Is there a single command to automate the login process and launch the 5250 session?
------------------------------
Santiago Avila
Original Message:
Sent: Fri November 18, 2022 06:56 AM
From: Satid Singkorapoom
Subject: Using cached/scripted credentials to enter a 5250 emulator session
Dear Chris
>>>> Do you know why it is not using the cached credentials? <<<<
Yes, I think I know why (although not fully 100% sure) and thus my original response above. What you want is called Bypass Sign-on feature of 5250 emulator. This feature requires the 2 actions I provided above to work.
With the problem you encountered, have you already changed system value QRMTSIGN to *VERIFY yet? This has been MANDATORY for a long time in the past for enabling Bypass Sign-on feature in 5250 emulator that came with the old IBM i Access. AND you also need to enable Bypass Sign-on in 5250 emulator as shown in the picture below.
I believe these 2 actions are still required for ACS's 5250 emulator regardless of how you invoke the emulator. Please take these 2 actions and see if it works the way you want or not.
As a side note, I notice that options /nosave and /wide are not completed. For details, check section 9.1.13 in this ACS Getting Start URL : https://www.ibm.com/support/pages/ibm-i-access-acs-getting-started
------------------------------
Right action is better than knowledge; but in order to do what is right, we must know what is right.
-- Charlemagne
Satid Singkorapoom
Original Message:
Sent: Fri November 18, 2022 03:10 AM
From: Chris Jessup
Subject: Using cached/scripted credentials to enter a 5250 emulator session
Thanks for your help. It is most appreciated.
I get a MSGGEN002 - The function completed successfully when I try acslaunch_win-64.exe /plugin=logon /system=systemname /userid=userid /password=password /GUI=1
But I still get a username/password dialog when launching the emulator acslaunch_win-64.exe /plugin=5250 /system=systemname /nosave /wide
Do you know why it is not using the cached credentials?
------------------------------
Chris Jessup
Original Message:
Sent: Tue November 15, 2022 07:05 PM
From: Satid Singkorapoom
Subject: Using cached/scripted credentials to enter a 5250 emulator session
Dear Chris
Have you also taken the actions described in this Technote? Bypass IBM i OS Sign-On Screen
I think the proper value for the system value QRMTSIGN is mandatory but am not sure if this applied to ACS version of PC5250 or not.
To enable bypass sign-on, the following is required:
o | On the operating system command line, type the following:
WRKSYSVAL QRMTSIGN
Press the Enter key. Change the value to *VERIFY. |
o | In the IBM Access for Windows PC5250 Emulator, Select Communications, Configure, and check the Bypass Signon option.
In the IBM i Access Client Solutions 5250 Emulator, Select Communications, Configure, and then the Advanced option on the left hand side, select the Bypass Signon option.
The Bypass sign-on is now enabled. The change will take effect immediately. |
If setting the system value does not help, please read this Technote : Three Methods by which to by-pass GUI sign on using IBM i Access Client Solutions. Please note that it indicates that for your method, "These examples would have to be ran from the directory where either the acslaunch_win-32.exe or the acslaunch_win-64.exe reside." I think this means you should specify the full directory path for the EXE files.
------------------------------
Right action is better than knowledge; but in order to do what is right, we must know what is right.
-- Charlemagne
Satid Singkorapoom
Original Message:
Sent: Tue November 15, 2022 07:46 AM
From: Chris Jessup
Subject: Using cached/scripted credentials to enter a 5250 emulator session
Hello
As part of a Privileged Access Management project, I would like to be able to run a 5250 emulator using a scripted set of credentials. I have tried using the following commands but still get a username/password dialogue.
acslaunch_win-64.exe /plugin=logon /system=*** /userid=username /password=password
acslaunch_win-64.exe /plugin=5250 /system=*** /sso /nosave /wide
Any suggestions would be great
Thanks
------------------------------
Chris Jessup
------------------------------