Skip to content
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

NJS-116 when sec_case_sensitive_logon = FALSE on 19c #1563

Closed
nicholas-ochoa opened this issue May 31, 2023 · 2 comments
Closed

NJS-116 when sec_case_sensitive_logon = FALSE on 19c #1563

nicholas-ochoa opened this issue May 31, 2023 · 2 comments

Comments

@nicholas-ochoa
Copy link

Using node-oracledb 6.0.0 with Oracle DB 19c, I'm getting the error NJS-116: password verifier type 0x939 is not supported by node-oracledb in Thin mode when starting up using Thin mode. I can resolve it by using the instant client / thick mode, or by changing sec_case_sensitive_logon to be TRUE - however in our production system we currently have this value set to FALSE. I'm investigating the effort to change it, but it is likely to be rather large.

Will support for sec_case_sensitive_logon = FALSE be added to thin mode?

@anthony-tuininga
Copy link
Member

I'll let @cjbj and @sharadraju confirm, but I believe that there is no intent to implement the insecure 10g password verifier in thin mode. I would recommend migrating to the 12g verifier which is substantially more secure.

@cjbj
Copy link
Member

cjbj commented May 31, 2023

We definitely have no plans to support the 10g verifier, sorry.

For other readers, here are the solutions if NJS-116: password verifier type 0x939 is not supported by node-oracledb in Thin mode is encountered:

  • If you’re connecting to Oracle Database 11gR2 or earlier, then use node-oracledb Thick mode, or upgrade the DB.
  • For later DBs:
    • make sure the database initialization parameter sec_case_sensitive_logon is not FALSE. In SQL*Plus as SYSDBA, run show parameter sec_case_sensitive_logon to check the value.
      Note sec_case_sensitive_logon has been removed in Oracle Database 21c, see Force Upgraded Password File to be Case Sensitive in the Oracle Database Learning Database New Features Release 21c manual
    • Regenerate passwords e.g. run ALTER USER x IDENTIFIED BY y, if necessary

@cjbj cjbj closed this as completed May 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants