-
assigned issue to
dbconn.conn() Fails when Credentials Are Passed (ABI v48 Node 6)
Issue #52
resolved
Using idb-connector 1.1.6 with Node 6, the following code fails:
const db2i = require("idb-connector");
const dbconn = new db2i.dbconn();
dbconn.conn("*LOCAL", "myusrprf", "mypass");
It throws with authorization failure, even with correct credentials. This problem seems similar to one that I reported before for Node 8:
https://bitbucket.org/litmis/nodejs-idb-connector/issues/41/dbconnconn-fails-when-4-arguments-are
It seems that the problem was fixed for Node 8 and Node 10 builds, but not for Node 6.
Comments (4)
-
Account Deactivated -
Account Deactivated This issue is introduced by the N-API versions (1.1.0+). The NAPI string seems to be incompatibility with DB2 CLI.
I have upgraded idb-connector to v1.1.7 to fix the issue.
For more details please refer to commit --> https://bitbucket.org/litmis/nodejs-idb-connector/commits/c20f37c#Lsrc/db2ia/dbconn.ccT229
-
reporter Problem solved, thanks!
-
reporter - changed status to resolved
v1.1.7 resolves the problem.
- Log in to comment