PL/SQL Developer登入时候报ORA-12638: 身份证明检索失败的解决办法

前言

这里出现该问题是,电脑系统出现问题后恢复出厂设置然后重新安装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原来文件

[plain]  view plain  copy
  1. # sqlnet.ora Network Configuration File: E:\360DownNo\app\product\11.2.0\dbhome_1\network\admin\sqlnet.ora  
  2. # Generated by Oracle configuration tools.  
  3.   
  4. # This file is actually generated by netca. But if customers choose to   
  5. # install "Software Only", this file wont exist and without the native   
  6. # authentication, they will not be able to connect to the database on NT.  
  7.   
  8. SQLNET.AUTHENTICATION_SERVICES= (NTS)  
  9.   
  10. NAMES.DIRECTORY_PATH= (TNSNAMES, EZCONNECT)  

扫描二维码关注公众号,回复: 2696790 查看本文章

2> sqlnet.ora修改文件

[plain]  view plain  copy
  1. # sqlnet.ora Network Configuration File: E:\360DownNo\app\product\11.2.0\dbhome_1\network\admin\sqlnet.ora  
  2. # Generated by Oracle configuration tools.  
  3.   
  4. # This file is actually generated by netca. But if customers choose to   
  5. # install "Software Only", this file wont exist and without the native   
  6. # authentication, they will not be able to connect to the database on NT.  
  7.   
  8. SQLNET.AUTHENTICATION_SERVICES= (BEQ,NONE)  
  9.   
  10. NAMES.DIRECTORY_PATH= (TNSNAMES, EZCONNECT)  

问题解决。

另:

还有一个现象是,能登入用户之后,关闭plsql,把该配置文件修改回到之前的文件,仍然可以登陆。这个问题的原因尚不清楚。

猜你喜欢

转载自blog.csdn.net/niaonao/article/details/78995958