My Oracle Support Banner

DG4ODBC - Connection to SQL Server is Using Microsoft ODBC Driver Failiing with - Cannot generate SSPI context (Doc ID 2714740.1)

Last updated on APRIL 17, 2023

Applies to:

Oracle Database Gateway for SQL Server - Version and later
Information in this document applies to any platform.


Using Oracle database Gateway for ODBC 12c connecting to SQL Server from Oracle database is getting below error message.

SQL> select * from "sysobjects"@<dblink>;
select * from "sysobjects"@<dblink>
ERROR at line 1:
ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
[Microsoft][ODBC Driver 17 for SQL Server]SSPI Provider: Credentials cache file '/tmp/krb5cc_5000' not found {HY000,NativeErr = 851968}
[Microsoft][ODBC Driver17 for SQL Server]Cannot generate SSPI context {HY000,NativeErr = 851968}
ORA-02063: preceding 2 lines from <DBLINK>


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.