SQLNET.AUTHENTICATION_SERVICES值在不同操作系统下的含义

环境:

oracle11g
SQL> show parameter remote_login_passwordfile

NAME                                 TYPE        VALUE
------------------------------------ ----------- -----------
remote_login_passwordfile            string      EXCLUSIVE

win7系统:
当SQLNET.AUTHENTICATION_SERVICES= (NTS),登录成功
C:\Users\thinkpad>sqlplus " / as sysdba"

SQL*Plus: Release 11.1.0.7.0 - Production on 星期日 4月 15 21:44:35 2012

Copyright (c) 1982, 2008, Oracle.  All rights reserved.


连接到:
Oracle Database 11g Enterprise Edition Release 11.1.0.7.0 - Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options

SQL> show user
USER 为 "SYS"

当SQLNET.AUTHENTICATION_SERVICES= (NONE),登录提示权限不足
SQL> exit
从 Oracle Database 11g Enterprise Edition Release 11.1.0.7.0 - Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options 断


C:\Users\thinkpad>sqlplus " / as sysdba"

SQL*Plus: Release 11.1.0.7.0 - Production on 星期日 4月 15 21:51:23 2012

Copyright (c) 1982, 2008, Oracle.  All rights reserved.

ERROR:
ORA-01031: insufficient privileges


当SQLNET.AUTHENTICATION_SERVICES= (ALL),提示验证服务无法初始化

C:\Users\thinkpad>sqlplus " / as sysdba"

SQL*Plus: Release 11.1.0.7.0 - Production on 星期日 4月 15 21:52:21 2012

Copyright (c) 1982, 2008, Oracle.  All rights reserved.

ERROR:
ORA-12641: 验证服务无法初始化

当SQLNET.AUTHENTICATION_SERVICES这行注释后,提示权限不足
C:\Users\thinkpad>sqlplus " / as sysdba"

SQL*Plus: Release 11.1.0.7.0 - Production on 星期日 4月 15 21:53:24 2012

Copyright (c) 1982, 2008, Oracle.  All rights reserved.

ERROR:
ORA-01031: insufficient privileges

linux系统(cemtos5.3)
当SQLNET.AUTHENTICATION_SERVICES= (NTS)或SQLNET.AUTHENTICATION_SERVICES= (NONE),登录提示权限不足
[oracle@localhost ~]$ sqlplus "/ as sysdba"

SQL*Plus: Release 11.2.0.1.0 Production on Sun Apr 15 22:08:12 2012

Copyright (c) 1982, 2009, Oracle.  All rights reserved.

ERROR:
ORA-01031: insufficient privileges

当SQLNET.AUTHENTICATION_SERVICES= (NTS)注释或SQLNET.AUTHENTICATION_SERVICES= (ALL),登录成功


[oracle@localhost ~]$ sqlplus "/ as sysdba"

SQL*Plus: Release 11.2.0.1.0 Production on Sun Apr 15 22:08:39 2012

Copyright (c) 1982, 2009, Oracle.  All rights reserved.


Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options

说明:

1.在http://hi.baidu.com/%EE%D1%D7%D300544/blog/item/a546e0ee1c4eb4ecb3fb9569.html该文章中说在windows系统中,设为ALL时是可以认证,但是我的实验了几次都不行,设为ALL后都提示“验证服务无法初始化”,不知道是不是因为oracle版本问题还是我的是win7问题。

 2.NTS看来只是对xp系统的认证可行

3.NTS:操作系统认证

   NONE:口令文件认证

 


 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值