前言
这里出现该问题是,电脑系统出现问题后恢复出厂设置然后重新安装PLSQL ,这时打开PLSQL 连接数据库报错:
ORA-12638: 身份证明检索失败
问题解决
这里将oracle安装路径app\product\11.2.0\dbhome_1\NETWORK\ADMIN\sqlnet.ora 文件修改一下
把
SQLNET.AUTHENTICATION_SERVICES= (NTS)
修改为
SQLNET.AUTHENTICATION_SERVICES= (BEQ,NONE)
1> sqlnet.ora原来文件
- # sqlnet.ora Network Configuration File: E:\360DownNo\app\product\11.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)
-
- NAMES.DIRECTORY_PATH= (TNSNAMES, EZCONNECT)
扫描二维码关注公众号,回复:
2696790 查看本文章
2> sqlnet.ora修改文件
- # sqlnet.ora Network Configuration File: E:\360DownNo\app\product\11.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= (BEQ,NONE)
-
- NAMES.DIRECTORY_PATH= (TNSNAMES, EZCONNECT)
问题解决。
另:
还有一个现象是,能登入用户之后,关闭plsql,把该配置文件修改回到之前的文件,仍然可以登陆。这个问题的原因尚不清楚。