日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 运维知识 > 数据库 >内容正文

数据库

理解SQLNET.AUTHENTICATION_SERVICES参数

發布時間:2024/8/26 数据库 32 豆豆
生活随笔 收集整理的這篇文章主要介紹了 理解SQLNET.AUTHENTICATION_SERVICES参数 小編覺得挺不錯的,現在分享給大家,幫大家做個參考.

理解SQLNET.AUTHENTICATION_SERVICES參數

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?字節 ?????????????? 0?個目錄?1,969,827,840?可用字節 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> l?LINUX A.?sqlnet.ora文件: ? bash-3.00$?ls -l sqlnet.ora sqlnet.ora:?無此文件或目錄 bash-3.00$?sqlplus "/ as sysdba" SQL*Plus: Release 10.2.0.1.0 - Production on Tue May 8 21:11:04 2012 Copyright (c) 1982, 2005, Oracle.?All rights reserved. Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - 64bit Production With the Partitioning, OLAP and Data Mining options SQL> B.????SQLNET.AUTHENTICATION_SERVICES=NONE) ? bash-3.00$?cat sqlnet.ora SQLNET.AUTHENTICATION_SERVICES = (NONE) bash-3.00$?sqlplus "/ as sysdba" SQL*Plus: Release 10.2.0.1.0 - Production on Tue May 8 21:13:00 2012 Copyright (c) 1982, 2005, Oracle.?All rights reserved. ERROR: ORA-01031: insufficient privileges Enter user-name: C.????SQLNET.AUTHENTICATION_SERVICES=ALL) ? bash-3.00$?cat sqlnet.ora SQLNET.AUTHENTICATION_SERVICES = (ALL) bash-3.00$?sqlplus "/ as sysdba" SQL*Plus: Release 10.2.0.1.0 - Production on Tue May 8 21:13:59 2012 Copyright (c) 1982, 2005, Oracle.?All rights reserved. Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - 64bit Production With the Partitioning, OLAP and Data Mining options SQL> D.????SQLNET.AUTHENTICATION_SERVICES=NTS) ? bash-3.00$?cat sqlnet.ora SQLNET.AUTHENTICATION_SERVICES = (NTS) bash-3.00$?sqlplus "/ as sysdba" SQL*Plus: Release 10.2.0.1.0 - Production on Tue May 8 21:15:05 2012 Copyright (c) 1982, 2005, Oracle.?All rights reserved. ERROR: ORA-01031: insufficient privileges Enter user-name:

總結

以上是生活随笔為你收集整理的理解SQLNET.AUTHENTICATION_SERVICES参数的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。