12C数据库客户端登录被拒绝的原因,一般是由于客户端跟服务端版本不匹配导致的,这个时候,只需要在客户端的sqlnet.ora文件中添加两行即可
# sqlnet.ora Network Configuration File: F:\app\Administrator\product\12.2.0\dbhome_1\network\admin\sqlnet.ora
# Generated by Oracle configuration tools.
# This file is actually generated by netca. But if customers choose to
# install "Software Only", this file wont exist and without the native
# authentication, they will not be able to connect to the database on NT.
SQLNET.AUTHENTICATION_SERVICES= (NTS,NONE)
NAMES.DIRECTORY_PATH= (TNSNAMES, EZCONNECT)
SQLNET.ALLOWED_LOGON_VERSION_SERVER=11