Today, when linking the database, such a problem occurred.
ORA-28040: No matching authentication protocol
Then directly see what is the reason
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.