ORACLE12cR2 ORA-28040: No matching authentication protocol

Today, when linking the database, such a problem occurred.

ORA-28040: No matching authentication protocol

Then directly see what is the reason

write picture description here

The prompt description given is ' No matching authentication protocol '.
Carefully read the tips he gave, it should be that the following two lines of code were not added to sqlnet.ora:

  • SQLNET.ALLOWED_LOGON_VERSION_SERVER=8
  • SQLNET.ALLOWED_LOGON_VERSION_CLIENT=8

Then he said that after changing sqlnet.ora, you must reset the password of the Oracle user to take effect.

solution

  • Find the location of sqlnet.ora, and directly add the two lines of code to it.
  • If there is no sqlnet.ora, you can create a new one and then add the prompt code.
  • Finally, reset the password of the Oracle user.
  • Restart listening.

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325422079&siteId=291194637