11gR2 Database Link: ORA-01017 & ORA-02063 When Using Lower Case Identifiers (Doc ID 1677916.1)

Last updated on NOVEMBER 25, 2015

Applies to:

Oracle Net Services - Version 11.2.0.1 to 11.2.0.4 [Release 11.2]
Oracle Database - Enterprise Edition - Version 11.2.0.1 to 11.2.0.4 [Release 11.2]
Information in this document applies to any platform.

Symptoms

Following the creation of a dblink where the userid and password are specified in lowercase AND quoted, select across the link fails with:

ERROR at line 1:
ORA-01017: invalid username/password; logon denied
ORA-02063: preceding line from ORCL_TARGET

Example of usage where this failure occurs:

SQL> create database link ORCL_TARGET CONNECT TO "scott" IDENTIFIED BY "tiger" USING 'ORCL_TARGET' ;

Database link created.

SQL> select * from dual@ORCL_TARGET ;
select * from dual@ORCL_TARGET
*
ERROR at line 1:
ORA-01017: invalid username/password; logon denied
ORA-02063: preceding line from ORCL_TARGET

The following pfile settings are in place:


sec_case_sensitive_logon=FALSE
global_names=FALSE

 

Note that a SQL*Plus connection directly to the target using the same credentials is successful.  The ORA-01017 occurs only during the selection across the link.

>SQLPLUS scott@ORCL_TARGET;
password:  tiger

 

Changes

 No changes would be necessary.  This is a newly created database link.

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms