暂无图片
暂无图片
暂无图片
暂无图片
暂无图片

【Oracle】SQLNET.AUTHENTICATION_SERVICES

DB小榴莲 2020-11-17
3106

作用

启用一项或多项身份验证服务。如果已安装身份验证,则建议将此参数设置为none或列出的身份验证方法之一。

使用SQLNET.AUTHENTICATION_SERVICES值为all时,服务器尝试使用以下方法进行身份验证。按照以下列出的顺序,靠上的验证不成功,将依次使用下面的其他验证方式。

  • Authentication based on a service external to the database, such as a service on the network layer, Kerberos, or RADIUS.

  • Authentication based on the operating system user's membership in an administrative operating system group. Group names are platform-specific. This authentication is applicable to administrative connections only.

  • Authentication performed by the database.

  • Authentication based on credentials stored in a directory server.

操作系统身份验证模式下,管理用户连接可以使用任何用户名和密码访问数据库,例如在使用SQL * Plus连接时使用AS SYSDBA子句。连接的示例如下

sqlplus ignored_username/ignored_password AS SYSDBA

如果发出以上命令的操作系统用户已经是相应的管理系统组的成员,连接当然会成功。这是因为由于首先检查组成员身份,服务器将忽略用户名和密码。

以下是参数的可选值,默认是all,比如

SQLNET.AUTHENTICATION_SERVICES=(all)


Authentication methods available with Oracle Net Services:

  • none
     for no authentication methods, including Microsoft Windows native operating system authentication. When SQLNET.AUTHENTICATION_SERVICES
     is set to none
    , a valid user name and password can be used to access the database.

  • all
     for all authentication methods.

  • beq
     for native operating system authentication for operating systems other than Microsoft Windows

  • kerberos5
     for Kerberos authentication

  • nts
     for Microsoft Windows native operating system authentication

  • radius
     for Remote Authentication Dial-In User Service (RADIUS) authentication

  • tcps
     for SSL authentication

SQLNET.AUTHENTICATION_SERVICES=(NONE)

SQLNET.AUTHENTICATION_SERVICES=(beq)

----------------------------

长按下图二维码关注我,每篇涨点小知识!

最后修改时间:2021-06-23 10:56:46
文章转载自DB小榴莲,如果涉嫌侵权,请发送邮件至:contact@modb.pro进行举报,并提供相关证据,一经查实,墨天轮将立刻删除相关内容。

评论