Database Security Products (MOSC)

MOSC Banner

Username retrieval failed (while connecting via kerberos)

edited Jun 25, 2025 9:51AM in Database Security Products (MOSC) 5 commentsAnswered

I'm encountering a few issues and inconsistencies i'm not sure about while configuring CMU authentication using kerberos on my Oracle DB 19c (on a RHEL9 virtual machine) working with a MSAD 2022 dc server.

First of all is there any difference between configuring CMU authentication with Kerberos and configuring kerberos authentication? i'm not sure which guide to follow as they have some differences (like in user creation, wallet creation and other requirements) or
Do i need a DB user that is identified by a DN or by <user>@<realm> ?
About the keytab creation through the windows server, i'm using ktpass with a specific spn but on the DB server when it's loaded and i'm reviewing it using oklist its shows a partial spn of this structure '<oracle_service>/<db_server_fqdn>@' instead of '<oracle_service>/<db_server_fqdn>@<realm_name>' , does this mean the keytab is corrupted or that okinit loads it incorrectly?

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