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:口令文件認證

 


 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM