My Oracle Support Banner

Using DG4DRDA Users Can Connect to an AS400 With Incorrect Password in Database Link (Doc ID 1439347.1)

Last updated on OCTOBER 10, 2019

Applies to:

Oracle Database Gateway for DRDA - Version 11.2.0.1 to 11.2.0.3 [Release 11.2]
Information in this document applies to any platform.

Symptoms


Using DG4DRDA it is possible for users to connect to an AS400 with an incorrect password in the database link statement.
An incorrect password would be expected to give the following error -

SQL> select user from dual@dg4drda ;

select user from dual@dg4drda
*
ERROR at line 1:
ORA-01017: invalid username/password; logon denied
[Oracle][ODBC DB2 Wire Protocol driver]User / Password invalid. {28000}
ORA-02063: preceding 2 lines from DG4DRDA


but a successful connection is made instead and results from the SQL statement returned.

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
Cause
Solution


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