Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

RADIUS authentification

Posted on 2009-07-15
9
Medium Priority
?
837 Views
Last Modified: 2013-12-19
Hello,

I'm trying to setup RADIUS authentification with Oracle 10g R2. Unfortunately, when i try to connect, i get this message:

ORA-12641: Authentication service failed to initialize

I also tried to follow this documentation: http://download.oracle.com/docs/cd/B19306_01/network.102/b14268/asoradus.htm#ASOAG040

But there is no "Oracle Advanced Security" in the choice list. Is it because it's not installed? Is there a way to install it on top of my current installation?

Thanks
0
Comment
Question by:bomek
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 4
9 Comments
 
LVL 48

Accepted Solution

by:
schwertner earned 2000 total points
ID: 24858382
Look in the file $ORACLE_HOME/network/tools/NetProperties the line
contained the parameter INSTALLEDCOMPONENTS
(often it is is commented using # ).
Modify it like:

INSTALLEDCOMPONENTS=CLIENT,NET8,JAVAVM,SERVER,ANO

and restart netmgr
0
 

Author Comment

by:bomek
ID: 24866873
Thanks, it did the trick. I'm now able to configure RADIUS through netmgr. But still, when i try to login with sqlplus, i get this error: ORA-12641: Authentication service failed to initialize.
0
 
LVL 48

Expert Comment

by:schwertner
ID: 24866947
Is it fresh installation of Oracle 10g?
What says

lsnrctl status
lsnrctl services
0
What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

 

Author Comment

by:bomek
ID: 24867184
My radius.key was wrong.. After i fixed it, i got Oracle communicate with my radius server.

In my init.ora, i got those two options:
os_authent_prefix=""
remote_os_authent=FALSE

I created a user identified externally to which i granted connect role. When i'm connecting with this user, i get a logon denied from oracle and in the RADIUS log it says invalid password (i'm using the good password of course...).

My RADIUS server works fine with others services and the user i'm trying too.

And no, it's not a fresh Oracle 10g install. Our Oracle installation is on windows, how do i get the same result as "lsnrctl status"?

0
 
LVL 48

Expert Comment

by:schwertner
ID: 24867375
Good news!
0
 

Author Comment

by:bomek
ID: 24867386
Well, no, since i'm still not able to login..

I don't know why, but Oracle is not sending the password i typed to the RADIUS server.
0
 
LVL 48

Expert Comment

by:schwertner
ID: 24868282
Check for firewall.
Check for host name. port, protocol.
0
 

Author Comment

by:bomek
ID: 24868463
As i said, Oracle is able to communicate with the server (since i see the requests in the radius logs). The problem, password is always invalid. I've tried different users with very simple, normal and complicated passwords but none go through.

The radius server works perfectly with other services and with radius test tool (NTRadPing). Oracle is obviously doing something with the password i enter before it send it to the radius server.
0
 

Author Comment

by:bomek
ID: 24868692
I finally found the response, the secret was too long for oracle. I shorten it to 16 characters and it works.
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Why doesn't the Oracle optimizer use my index? Querying too much data Most Oracle developers know that an index is useful when you can use it to restrict your result set to a small number of the total rows in a table. So, the obvious side…
When it comes to protecting Oracle Database servers and systems, there are a ton of myths out there. Here are the most common.
This video shows, step by step, how to configure Oracle Heterogeneous Services via the Generic Gateway Agent in order to make a connection from an Oracle session and access a remote SQL Server database table.
Via a live example, show how to restore a database from backup after a simulated disk failure using RMAN.

636 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question