Call: +44 (0)1904 557620 Call
Forum

Welcome, Guest. Please Login.
May 26th, 2024, 1:35am
News: Welcome to Pete Finnigan's Oracle security forum
Home | Help | Search | Members | Login
   Pete Finnigan's Oracle Security Forum
   Oracle Security
   Oracle Security tools
(Moderator: Pete Finnigan)
   Authentication against MIT Kerberos on RHEL clone
« Previous topic | Next topic »
Pages: 1  Reply | Notify of replies | Send Topic | Print
   Author  Topic: Authentication against MIT Kerberos on RHEL clone  (Read 11730 times)
Pete Finnigan
PeteFinnigan.com Administrator
*****




Oracle Security is easier if you design for it

   
View Profile | WWW | Email

Gender: male
Posts: 309
Authentication against MIT Kerberos on RHEL clone
« on: May 26th, 2008, 9:07pm »
Quote | Modify

Hello,
 
Does anybody know how to configure ASO to authenticate against MIT Kerberos.  
 
I successfully install MIT Kerberos and LDAP on localhost (CentOS 5). The Kerberos and LDAP is working.  
 
I follow up the Oracle instructions on (http://download.oracle.com/docs/cd/B19306_01/network.102/b14268/asokerb. htm#ASOAG060)
 
I'am able to use all Oracle's Kerberos tools such as okinit, oklist, etc. But I'm not able to use sqlplus (sqlplus /@SID). The connect ends up with the : ORA-12638: Credential retrieval failed
    Cause: The authentication service failed to retrieve the credentials of a user.
    Action: Enable tracing to determine the exact error.
 
I think that problem is in the sqlnet.ora configuration.
 
Here is the sqlnet.ora.
 
SQLNET.KERBEROS5_REALMS = /etc/krb5.conf
 
SQLNET.KERBEROS5_CC_NAME = /tmp/krb5cc_501
 
SQLNET.AUTHENTICATION_SERVICES= (BEQ, KERBEROS5)
 
TRACE_LEVEL_CLIENT = SUPPORT
 
TRACE_UNIQUE_CLIENT = on
 
NAMES.DIRECTORY_PATH= (TNSNAMES, EZCONNECT)
 
TRACE_LEVEL_SERVER = SUPPORT
 
SQLNET.KERBEROS5_CONF = /etc/krb5.conf
 
SQLNET.KERBEROS5_CONF_MIT = TRUE
 
SQLNET.AUTHENTICATION_KERBEROS5_SERVICE = Kservice
 
Thanks in advance.
IP Logged

Pete Finnigan (email:pete@petefinnigan.com)
Oracle Security Web site: http://www.petefinnigan.com
Forum: http://www.petefinnigan.com/forum/yabb/YaBB.cgi
Oracle security blog: http://www.petefinnigan.com/weblog/entries/index.html
Pete Finnigan
PeteFinnigan.com Administrator
*****




Oracle Security is easier if you design for it

   
View Profile | WWW | Email

Gender: male
Posts: 309
Re: Authentication against MIT Kerberos on RHEL cl
« Reply #1 on: May 30th, 2008, 1:36pm »
Quote | Modify

No help needed anymore, i solved it finally  Grin
IP Logged

Pete Finnigan (email:pete@petefinnigan.com)
Oracle Security Web site: http://www.petefinnigan.com
Forum: http://www.petefinnigan.com/forum/yabb/YaBB.cgi
Oracle security blog: http://www.petefinnigan.com/weblog/entries/index.html
Pete Finnigan
PeteFinnigan.com Administrator
*****




Oracle Security is easier if you design for it

   
View Profile | WWW | Email

Gender: male
Posts: 309
Re: Authentication against MIT Kerberos on RHEL cl
« Reply #2 on: May 31st, 2008, 7:46pm »
Quote | Modify

Great, can you tell us the solution so that anyone in the future looking to solve the same issue will also get some help?
 
cheers and thanks
 
Pete
IP Logged

Pete Finnigan (email:pete@petefinnigan.com)
Oracle Security Web site: http://www.petefinnigan.com
Forum: http://www.petefinnigan.com/forum/yabb/YaBB.cgi
Oracle security blog: http://www.petefinnigan.com/weblog/entries/index.html
Pete Finnigan
PeteFinnigan.com Administrator
*****




Oracle Security is easier if you design for it

   
View Profile | WWW | Email

Gender: male
Posts: 309
Re: Authentication against MIT Kerberos on RHEL cl
« Reply #3 on: Jun 1st, 2008, 9:00am »
Quote | Modify

Yes of course,
 
There were two problems.  
1. Service name - i was not sure which value is correct, so from the KDC log i get the name for service. I have case sensitive host name and in the KDC log was lowercase. Therefore i re-create the principal with the correct host name
 
2. Encryption key compatibility - Oracle supports only the DES-CBC-CRC. So I re-create the principal for service with this key and also when exporting keytab for service I specify the DES-CBC-CRC.
IP Logged

Pete Finnigan (email:pete@petefinnigan.com)
Oracle Security Web site: http://www.petefinnigan.com
Forum: http://www.petefinnigan.com/forum/yabb/YaBB.cgi
Oracle security blog: http://www.petefinnigan.com/weblog/entries/index.html
Pete Finnigan
PeteFinnigan.com Administrator
*****




Oracle Security is easier if you design for it

   
View Profile | WWW | Email

Gender: male
Posts: 309
Re: Authentication against MIT Kerberos on RHEL cl
« Reply #4 on: Jun 1st, 2008, 4:30pm »
Quote | Modify

Thank you
IP Logged

Pete Finnigan (email:pete@petefinnigan.com)
Oracle Security Web site: http://www.petefinnigan.com
Forum: http://www.petefinnigan.com/forum/yabb/YaBB.cgi
Oracle security blog: http://www.petefinnigan.com/weblog/entries/index.html
Pete Finnigan
PeteFinnigan.com Administrator
*****




Oracle Security is easier if you design for it

   
View Profile | WWW | Email

Gender: male
Posts: 309
Re: Authentication against MIT Kerberos on RHEL cl
« Reply #5 on: Jun 2nd, 2008, 8:27am »
Quote | Modify

Hi,
 
I have comment regarding the used version. The problem mention here was in 10g.  
 
When I try the same with 11g there is also some problem. I set up the configuration in the same way as for 10g, but the connection end with another interesting error Smiley
 
ORA-01637: Packet receive failed.
 
In 11g docs there is some comment regarding this error but in another context.
 
After upgrading from a 32-bit version of Oracle Database, the first use of the Kerberos authentication adapter causes an error message: ORA-01637: Packet receive failed.
 
Workaround: After upgrading to the 64-bit version of the database and before using Kerberos external authentication method, check for a file named /usr/tmp/oracle_service_name.RC on your computer, and remove it.
IP Logged

Pete Finnigan (email:pete@petefinnigan.com)
Oracle Security Web site: http://www.petefinnigan.com
Forum: http://www.petefinnigan.com/forum/yabb/YaBB.cgi
Oracle security blog: http://www.petefinnigan.com/weblog/entries/index.html
Pete Finnigan
PeteFinnigan.com Administrator
*****




Oracle Security is easier if you design for it

   
View Profile | WWW | Email

Gender: male
Posts: 309
Re: Authentication against MIT Kerberos on RHEL cl
« Reply #6 on: Jun 2nd, 2008, 11:14pm »
Quote | Modify

The problem was with the FQDN of the host in the /etc/hosts
IP Logged

Pete Finnigan (email:pete@petefinnigan.com)
Oracle Security Web site: http://www.petefinnigan.com
Forum: http://www.petefinnigan.com/forum/yabb/YaBB.cgi
Oracle security blog: http://www.petefinnigan.com/weblog/entries/index.html
Pages: 1  Reply | Notify of replies | Send Topic | Print

« Previous topic | Next topic »

Powered by YaBB 1 Gold - SP 1.4!
Forum software copyright 2000-2004 Yet another Bulletin Board
  • PFCLScan PFCLScan

    Simply connect PFCLScan to your Oracle database and it will automatically discover the security issues that could make your Oracle database vulnerable to attack and to the potential loss of your data.

  • PFCL Obfuscate PFCLObfuscate

    PFCLObfuscate is the only tool available that can automatically add license controls to your PL/SQL code. PFCLObfuscate protects your Intellectual Property invested in your PL/SQL database code.

  • PFCLCode PFCLCode

    PFCLCode is a tool to allow you to analyse your PL/SQL code for many different types of security issues. PFCLCode gives you a detailed review and reports and includes a powerful colour syntax highlighting code editor

  • PFCLForensics PFCLForensics

    PFCLForensics is the only tool available to allow you to do a detailed live response of a breached Oracle database and to then go on and do a detailed forensic analysis of the data gathered.

  • Products We resell PFCLReselling

    PeteFinnigan.com Limited has partnered with a small number of relevant companies to resell their products where they enhance or compliment what we do

  • PFCLATK PFCLATK

    PFCLATK is a toolkit that allows detailed pre-defined policy driven audit trails for your Oracle database. The toolkit also provides for a centralised audit trail and centralised activity reporting

  • PFCLCookie PFCLCookie

    PFCLCookie is a useful tool to use to audit your websites for tracking cookies. Scan websites in a natural way using powerful browser driven scanner

  • PFCL Training PFCLTraining

    PFCLTraining is a set of expert training classes for you, aimed at teaching how to audit your own Oracle database, design audit trails, secure code in PL/SQL and secure and lock down your Oracle database.

  • PFCL Services PFCLServices

    Choose PFCLServices to add PeteFinnigan.com Ltd to your team for your Oracle Security needs. We are experts in performing detailed security audits, data security design work and policy creation

  • PFCLConsulting PFCLConsulting

    Choose PFCLConsulting to ask PeteFinnigan.com Limited to set up and use our products on your behalf

  • PFCLCustom PFCLCustom

    All of our software products can be customised at a number of levels. Choose this to see how our products can be part of your products and services

  • PFCLCloud PFCLCloud

    Private cloud, public cloud, hybrid cloud or no cloud. Learn how all of our services, trainings and products will work in the cloud

  • PFCLUserRights PFCLUserRights

    PFCLUserRights allows you to create a very detailed view of database users rights. The focus of the reports is to allow you to decide what privileges and accounts to keep and which to remove.

  • PFCLSTK PFCLSTK

    PFCLSTK is a toolkit application that allows you to provide database security easily to an existing database. PFCLSTK is a policy driven toolkit of PL/SQL that creates your security

  • PFCLSFTK PFCLSFTK

    PFCLSFTK is a toolkit that solves the problem of securing third party applications written in PL/SQL. It does this by creating a thin layer between the application and database and this traps SQL Injection attempts. This is a static firewall.

  • PFCLSEO PFCLSEO

    PFCLSEO is a web scanner based on the PFCLScan technology so that a user can easily scan a website for technical SEO issues