-
Notifications
You must be signed in to change notification settings - Fork 35
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
NEW CASE FOR IBMi : *CURRENT for user profile and password is not accepted . #388
Comments
The IBM i Access ODBC driver has a limitation that using *CURRENT does not work if the user has PASSWORD(*NONE). Does the user have a password assigned? |
Yes the user have a password
בתאריך יום ב׳, 18 במרץ 2024 ב-17:18 מאת Kevin Adler <
***@***.***>:
… The IBM i Access ODBC driver has a limitation that using *CURRENT does not
work if the user has PASSWORD(*NONE). Does the user have a password
assigned?
—
Reply to this email directly, view it on GitHub
<#388 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ARUMXHLWSDBZR6NIKCBYHXTYY4AVZAVCNFSM6AAAAABE3WXWDSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMBUGE4TMMBTG4>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Oh I missed that you were using SSH, yeah you need to provide a username and password in that case or use an SSH key. See the examples: https://nodejs-itoolkit.readthedocs.io/en/latest/Connection.html#examples |
There is any way to use *CURRENT for user and password in nodejs
-toolkit-xmlservices?
בתאריך יום ג׳, 19 במרץ 2024 ב-15:49 מאת Kevin Adler <
***@***.***>:
… Oh I missed that you were using SSH, yeah you need to provide a username
and password in that case or use an SSH key. See the examples:
https://nodejs-itoolkit.readthedocs.io/en/latest/Connection.html#examples
—
Reply to this email directly, view it on GitHub
<#388 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ARUMXHKT2WNGDOCQCKLEFF3YZA7APAVCNFSM6AAAAABE3WXWDSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMBXGIZTENBUGE>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Yes, but only with ODBC as the *CURRENT thing is a special feature of the ODBC driver. No other transport supports it. |
Describe the bug
To clear things out: we are not trying to change the user profile and password, we are trying to connect to IBM i via NodeJS running on the IBM i.
Connection procedure as described in the documentation of XMLSERVICES using *CURRENT in username and password. This does not work. If instead we specify an IBM i user and password it works.
Screenshots
const { Connection} = require('itoolkit'); //xml services
const connection = new Connection({
transport: 'ssh',
transportOptions: {
database: '*LOCAL',
username: *CURRENT,
password: *CURRENT,
host: 'localhost',
},
});
and its not connected even im already connected to the system and even i run it from the ibmi/as400 system.
I would appreciate a solution, thanks.
The text was updated successfully, but these errors were encountered: