Skip to Main Content

Oracle Database Discussions

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

kerberos and password authentication

2831719May 11 2015 — edited May 11 2015

If I want to use Kerberos authentication to connect to an Oracle database server I need this line in my active $TNS_ADMIN/sqlnet.ora file:    
SQLNET.AUTHENTICATION_SERVICES = (BEQ, KERBEROS5)

If I want to connect with a simple login/password, I need that line to be:

SQLNET.AUTHENTICATION_SERVICES = (NONE)

Is there some magic configuration so I can connect to both from the same process using the same sqlnet.ora file?

I am using Java and ojdbc6.jar, but I don't think that matters.

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 8 2015
Added on May 11 2015
1 comment
573 views