I followed all the instructions in the Oracle Advanced Security
Administrator's Guide to configure my system correctly. But when I try
to connect to the DB via SQLPLUS on the command line I get the error
ORA-12641: TNS:authentication service failed to initialize.
My sqlnet.ora looks like this:
SQLNET.AUTHENTICATION_KERBEROS5_SERVICE = oemrep
SQLNET.KERBEROS5_CONF = c:\krb5\krb5.conf
SQLNET.KERBEROS5_REALMS = c:\krb5\krb5.realms
NAMES.DEFAULT_DOMAIN = mycompany.local
SQLNET.AUTHENTICATION_REQUIRED = TRUE
SQLNET.AUTHENTICATION_SERVICES= (BEQ, TCPS, KERBEROS5)
SQLNET.KERBEROS5_CC_NAME = c:\krb5\krbcache
SQLNET.KERBEROS5_KEYTAB = c:\krb5\v5srvtab
SQLNET.EXPIRE_TIME = 15
NAMES.DIRECTORY_PATH= (TNSNAMES)
SQLNET.KERBEROS5_CONF_MIT = TRUE
Any ideas what the problem might be?
What have I got to do to make my system use Kerberos?
All suggestions welcomed!
Unfortunately, it's difficult to tell what's going because the 12641 error is so
generic. As an aside, due to the architecture of the code, it was not possible
for me to provide a specific error code. The same applies to the infamous
ORA-12638.
The only thing that you can is to enable tracing at level 16. Look in the trace
file for lines starting with "nauk5". That should give you an idea what is going
on. I suggest contacting Oracle support. They should be able to help you
pinpoint what's going on. I'm not an expert in the Kerberos support. It was put
in after I designed the ASO framework.
Rick
Rick Wessman
Oracle Corporation
The opinions expressed above are mine and do not necessarily reflect
those of Oracle Corporation.