My Oracle Support Banner

Database Gateway for DRDA (DG4DRDA) Fails With Error: Specified security mechanism, (Unknown), is not supported by server HY000,NativeErr = 8339 Whn DB2 Database Uses Encrypted Authentication (Doc ID 1335320.1)

Last updated on MAY 11, 2022

Applies to:

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


When a DB2 database uses SERVER_ENCRYPT authentication mechanism the DRDA gateway connection fails with error:

select user from dual@zku118_EMGTW_1122_DB
ERROR at line 1:
ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
[Oracle][ODBC DB2 Wire Protocol driver]Specified security mechanism, (Unknown),
is not supported by server. {HY000,NativeErr = 8339}

ORA-02063: preceding 2 lines from ZKU118_EMGTW_1122_DB

even after specifying the gateway parameter HS_FDS_AUTHENTICATE_USER=ENCRYPT


DB2 database is using an authentication mechanism different from SERVER


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

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