理解SQLNET.AUTHENTICATION_SERVICES参数|转|
生活随笔
收集整理的這篇文章主要介紹了
理解SQLNET.AUTHENTICATION_SERVICES参数|转|
小編覺得挺不錯的,現(xiàn)在分享給大家,幫大家做個參考.
http://hunt1574.blog.51cto.com/1390776/857841
1、官方說明: SQLNET.AUTHENTICATION_SERVICES Purpose Use the parameter SQLNET.AUTHENTICATION_SERVICES to enable one or more authentication services. If authentication has been installed, it is recommended that this parameter be set to either none or to one of the authentication methods. Default None Values Authentication Methods Available with Oracle Net Services: ·?????????none for no authentication methods. A valid username and password can be used to access the database. ·?????????all for all authentication methods ·?????????nts for?Windows NT native authentication 2、測試: 可以通過對SQLNET.AUTHENTICATION_SERVICES值進行修改查看其影響。 l?WINDOWNS: A.?無sqlnet.ora文件: ? E:\oracle\product\10.2.0\db_1\NETWORK\ADMIN>dir sqlnet.ora ?驅動器?E?中的卷沒有標簽。 ?卷的序列號是?1CF8-89BB E:\oracle\product\10.2.0\db_1\NETWORK\ADMIN?的目錄 找不到文件 E:\oracle\product\10.2.0\db_1\NETWORK\ADMIN> ??????????????????????????? ?E:\oracle\product\10.2.0\db_1\NETWORK\ADMIN>sqlplus "/ as sysdba" SQL*Plus: Release 10.2.0.1.0 - Production on?星期二?5月?8 20:45:35 2012 Copyright (c) 1982, 2005, Oracle.?All rights reserved. ERROR: ORA-01031:?權限不足 請輸入用戶名: B.????SQLNET.AUTHENTICATION_SERVICES=(NONE) ? E:\oracle\product\10.2.0\db_1\NETWORK\ADMIN>dir sqlnet.ora ?驅動器?E?中的卷沒有標簽。 ?卷的序列號是?1CF8-89BB ?E:\oracle\product\10.2.0\db_1\NETWORK\ADMIN?的目錄 2012-05-08?20:48?????????????? 266 sqlnet.ora ?????????????? 1?個文件??????????? 266?字節(jié) ?????????????? 0?個目錄?1,969,827,840?可用字節(jié) E:\oracle\product\10.2.0\db_1\NETWORK\ADMIN>type sqlnet.ora # 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 = (NONE) E:\oracle\product\10.2.0\db_1\NETWORK\ADMIN>sqlplus "/ as sysdba" SQL*Plus: Release 10.2.0.1.0 - Production on?星期二?5月?8 20:48:53 2012 Copyright (c) 1982, 2005, Oracle.?All rights reserved. ERROR: ORA-01031:?權限不足 請輸入用戶名: C.????SQLNET.AUTHENTICATION_SERVICES=(ALL) ? E:\oracle\product\10.2.0\db_1\NETWORK\ADMIN>type sqlnet.ora # 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 = (ALL) E:\oracle\product\10.2.0\db_1\NETWORK\ADMIN>sqlplus "/ as sysdba" SQL*Plus: Release 10.2.0.1.0 - Production on?星期二?5月?8 20:51:28 2012 Copyright (c) 1982, 2005, Oracle.?All rights reserved. ERROR: ORA-12641:?驗證服務無法初始化 請輸入用戶名: D.????SQLNET.AUTHENTICATION_SERVICES=(NTS) ? E:\oracle\product\10.2.0\db_1\NETWORK\ADMIN>type sqlnet.ora # 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) E:\oracle\product\10.2.0\db_1\NETWORK\ADMIN>sqlplus "/ as sysdba" SQL*Plus: Release 10.2.0.1.0 - Production on?星期二?5月?8 20:53:49 2012 Copyright (c) 1982, 2005, Oracle.?All rights reserved. 連接到: Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production With the Partitioning, OLAP and Data Mining options SQL>轉載于:https://www.cnblogs.com/sumsen/archive/2012/11/20/2778530.html
總結
以上是生活随笔為你收集整理的理解SQLNET.AUTHENTICATION_SERVICES参数|转|的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 必定的成功
- 下一篇: Latin1_General_BIN