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 12.1.0.2 and later
Information in this document applies to any platform.

Symptoms

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>

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.