免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 2281 | 回复: 1
打印 上一主题 下一主题

SQLNET.AUTHENTICATION_SERVICES这个选项在sqlnet.ora中找不到 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2008-08-09 15:32 |只看该作者 |倒序浏览
看Oracle的官方资料,<<Oracle? Database Administrator's Guide>>

对于需要密码验证的时候,官方资料只是要求

例如资料上写

Adding Users to a Password File
When you grant SYSDBA or SYSOPER privileges to a user, that user's name and privilege information are added to the password file. If the server does not have an EXCLUSIVE password file (that is, if the initialization parameter REMOTE_LOGIN_PASSWORDFILE is NONE or SHARED, or the password file is missing), Oracle Database issues an error if you attempt to grant these privileges.

A user's name remains in the password file only as long as that user has at least one of these two privileges. If you revoke both of these privileges, Oracle Database removes the user from the password file.

Creating a Password File and Adding New Users to It

Use the following procedure to create a password and add new users to it:

Follow the instructions for creating a password file as explained in "Using ORAPWD".

Set the REMOTE_LOGIN_PASSWORDFILE initialization parameter to EXCLUSIVE. (This is the default.)

Note:

REMOTE_LOGIN_PASSWORDFILE is a static initialization parameter and therefore cannot be changed without restarting the database.
Connect with SYSDBA privileges as shown in the following example, and enter the SYS password when prompted:

CONNECT SYS AS SYSDBA
Start up the instance and create the database if necessary, or mount and open an existing database.

Create users as necessary. Grant SYSDBA or SYSOPER privileges to yourself and other users as appropriate. See "Granting and Revoking SYSDBA and SYSOPER Privileges", later in this section.

Granting and Revoking SYSDBA and


压根就没有提到sqlnet.ora这个文件
可是从网上查到的中文资料,无一例外的说修改
SQLNET.AUTHENTICATION_SERVICES=(NTS)(window平台)
SQLNET.AUTHENTICATION_SERVICES=(NONE)(unix平台)

难道Oracle的官方资料也是漏写东东的啊

而且我查看了我自己的sqlnet.ora文件
连SQLNET.AUTHENTICATION_SERVICES这个选项都没有的哦

如果要改成密码验证,还得自己加这个选项?晕晕得啊 大虾指较啊

[oracle@etl admin]$ cat sqlnet.ora
# sqlnet.ora Network Configuration File: /opt/oracle/oracle/product/10.2.0/db_1/network/admin/sqlnet.ora
# Generated by Oracle configuration tools.

NAMES.DIRECTORY_PATH= (TNSNAMES, EZCONNECT)

[oracle@etl admin]$ pwd
/opt/oracle/oracle/product/10.2.0/db_1/network/admin

论坛徽章:
0
2 [报告]
发表于 2008-08-10 18:13 |只看该作者
加进去即可
$ORACLE_HOME/network/admin/samples有示例的oracle net配置文件. 可参考
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP