Database Administration (MOSC)

MOSC Banner

How to get Kerberos authentication running for both Microsoft .NET application and sqlplus

We have a following test environment

  • Oracle database version 19.17
  • Microsoft Visual Studio Professional 2022 (64-bit) – Current Version 17.3.3
  • Oracle.ManagedDataAccess 21.11.0 (via NuGet)
  • MIT Kerberos for Windows
  • Target platform: AnyCPU / x64
  • Target framework: .NET Framework 4.8

Kerberos authentication worked by using in sqlnet.ora KERBEROS5_CC_NAME

  • OSMSFT: only with SQL*Plus and PL/SQL developer, but not with .NET application
  • MSLSA: only with .NET application, but not with SQL*Plus and PL/SQL developer

With MSLSA SQL*Plus we get an error message: ORA-12638 Credential retrieval failed

 

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center