My Oracle Support Banner

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

Last updated on FEBRUARY 18, 2019

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 <username> 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 <dblink_name>

Example of usage where this failure occurs:

SQL> create database link ORCL_TARGET CONNECT TO "<username>" IDENTIFIED BY "<password>" USING 'TARGET_DB' ;

Database link created.

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

The following pfile or spfile 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 <username>@TARGET_DB;
password:  <password>

 

Changes

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

Cause

To view full details, sign in with your My Oracle Support account.

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


In this Document
Symptoms
Changes
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.