SQLNET.AUTHENTICATION_SERVICES= (NTS)和SQLNET.AUTHENTICATION_SERVICES= (NONE)区别

C:\oracle\product\11.2.0\dbhome_1\NETWORK\ADMIN\sqlnet.ora中SQLNET.AUTHENTICATION_SERVICES值的含义

1.SQLNET.AUTHENTICATION_SERVICES= (NONE)

   这样就不允许使用操作系统本地验证了,例如:
  C:\>sqlplus /nolog
  sqlplus>connect / as sysdba
 error:ORA-01031:  insufficient   privileges

2.SQLNET.AUTHENTICATION_SERVICES= (NTS)

 这样就可以用操作系统本地验证了,则效果如下:
 C:\>sqlplus /nolog
 Sqlplus>connect / as sysdba
 Connected

当然前提是在ora_dba租中将本地用户添加到数据库管理员里了

你可能感兴趣的:(SQLNET.AUTHENTICATION_SERVICES= (NTS)和SQLNET.AUTHENTICATION_SERVICES= (NONE)区别)