重庆思庄Oracle、Redhat认证学习论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

搜索
查看: 996|回复: 0
打印 上一主题 下一主题

[Oracle] 低版本客户端连接高版本数据库报错ORA-01017

[复制链接]
跳转到指定楼层
楼主
发表于 2023-4-23 20:34:03 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
在服务器端添加了允许登录的客户端版本
SQLNET.ALLOWED_LOGON_VERSION_SERVER=10
但是客户端登录依旧报错ORA-01017: invalid username/password; logon denied
能够确认输入的密码没问题的,使用高版本的客户端,同样的密码测试连接也正常连接

根据MOS 文档 2040705.1:
Lockout of all database authenticated users getting error ORA-01017: invalid username/password; logon denied (Doc ID 2040705.1)

查询用户的PASSWORD_VERSIONS:

SQL> select username, password_versions from dba_users where password_versions is not null;

USERNAME                       PASSWORD_VERSIONS
------------------------------ -----------------
SYS                               11G 12C
SYSTEM                       11G 12C
TEST                               11G 12C

With this solution you will also need to change the user password again so the DBA_USERS.PASSWORD_VERSIONS will get a 10G value, however the DES based verifiers are outdated and should only be used in exceptional cases when legacy client applications still need it.
需要再次修改密码
alter user TEST identified by oracle;
SQL> select username, password_versions from dba_users where password_versions is not null;

USERNAME                       PASSWORD_VERSIONS
------------------------------ -----------------
SYS                               11G 12C
SYSTEM                       11G 12C
TEST                               10G 11G 12C

再次尝试连接,能够使用低版本客户端连接了
分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏 支持支持 反对反对
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

QQ|手机版|小黑屋|重庆思庄Oracle、Redhat认证学习论坛 ( 渝ICP备12004239号-4 )

GMT+8, 2024-5-20 23:35 , Processed in 0.090739 second(s), 20 queries .

重庆思庄学习中心论坛-重庆思庄科技有限公司论坛

© 2001-2020

快速回复 返回顶部 返回列表