Ora-12638 When Connecting Or Reconnecting On Windows XP Or Windows 2003
Last updated on NOVEMBER 14, 2016
Applies to:Oracle Database - Enterprise Edition - Version 10.2.0.3 and later
z*OBSOLETE: Microsoft Windows XP
z*OBSOLETE: Microsoft Windows Server 2003
Checked for relevance on 13-MAR-2013
During a connection to the database using operating system authentication, ORA-12638 "Credential retrieval failed" is logged intermittently. In some rare cases the problem is only seen when reconnecting. This can happen using any OCI based tool, like Sql*Plus.
As soon as clients are rebooted it works fine for a few days.
The database server is running on Windows 2003.
The Oracle client uses NTS authentication in sqlnet.ora.
SQLNET.AUTHENTICATION_SERVICES = (NTS)
In a sql*net server trace file (trace_level_server = 16) the following is reported:
[24-MAI-2007 14:24:29:638] naun5authent: Authentication type is 0
[24-MAI-2007 14:24:29:638] naun5authent: SSPI: 0x8009030e error in InitializeSecurityContext
[24-MAI-2007 14:24:29:638] naun5authent: exit
[24-MAI-2007 14:24:29:638] naunauthent: exit
[24-MAI-2007 14:24:29:638] nau_ccn: get credentials function failed
[24-MAI-2007 14:24:29:638] nau_ccn: failed with error 12638
Comment: the textual equivalent to 0x8009030e is SEC_E_NO_CREDENTIALS .
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms