[x]
Posted via EE Mobile

Search, ask, and monitor your questions on the go with EE Mobile. Visit Experts Exchange from your mobile device and never be out of touch again.

Question
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

8.6

How to setup Apache authentication against Oracle 9i in FreeBSD?

Asked by iuhh in FreeBSD

Tags: authentication, mod_auth_oracle, oracle

Hi,

I'm running Apache2 with Tomcat 5.5 (Java 1.4) on Freebsd 5.3, and I'll need to find a way to authenticate against a Oracle 9i database (running elsewhere).  Did you have any similar experiences?  I'm out of options at the moment, and I really appreciate any help.  Here's what I've tried:

1: mod_auth_oracle
There isn't a FreeBSD port, thus I had to compile it from source, with oracle-instant-client libraries from freebsd port.  Since it requires linux-compatibility library, even though I have successfully compiled the module with gmake, it always result in apache core dumps.  Thus I guess mix and matching bsd libraries and linux compatibility libraries is a dead-end.  I've tried the freebsd-question mailing list but I don't get any answers. (please see http://docs.freebsd.org/cgi/getmsg.cgi?fetch=646936+0+current/freebsd-questions for the setup details).

2: mod_auth_radius + freeradius with oracle support
Attempted it but it seems to be too complicated and overkill to setup a freeradius server just for this simple authentication task, thus I decided against it.

3: mod_auth_any and mod_auth_external with external authenticator
I've also tried to combine an external authenticator written in Java using JDBC oracle connection, with the above two modules.  mod_auth_any was too lacking in documentation and I didn't get it to work.  mod_auth_external worked but JDBC connection is too slow to be used in any production environment (~3s per authentication request!! the delay goes up all the way to 5 minutes if there's 100 requests per second!! ).  Tried combining with mod_authencache, and it didn't seem to make much difference.

I suppose my remaining option would probably involving in writing a custom shell script or perl script that calls sqlplus (which works in fbsd with linux libs, btw) to authenticate, then plug that in; however that does seem to be too much work and far too insecure way to accomplish this task.  Although I didn't find it - is there any ready-made perl5 oracle authentication module that already works on Freebsd?  Do you know any success stories for setting up apache authentication against oracle in Freebsd?  What other options would you have?

Many thanks for all your help.

Cheers,
HH
 
Loading Advertisement...
 
[+][-]06/30/05 01:44 AM, ID: 14336351Accepted Solution

View this solution now by starting your 30-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

About this solution

Zone: FreeBSD
Tags: authentication, mod_auth_oracle, oracle
Sign Up Now!
Solution Provided By: gheist
Participating Experts: 2
Solution Grade: A
 
[+][-]06/30/05 09:31 AM, ID: 14339948Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]06/30/05 12:40 PM, ID: 14341707Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]06/30/05 05:09 PM, ID: 14343744Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]07/02/05 11:16 AM, ID: 14355005Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07/06/05 02:29 AM, ID: 14376014Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07/06/05 06:49 AM, ID: 14377772Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07/06/05 04:43 PM, ID: 14383267Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]07/08/05 09:16 AM, ID: 14398416Assisted Solution

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 30-day free trial to view this Assisted Solution or ask the Experts your question.

 
[+][-]12/28/05 05:52 PM, ID: 15567839Administrative Comment

Experts Exchange has a courteous staff of administrators who help members get the most out of the website by means of administrative comments like this one.

Start your 30-day free trial to view this Administrative Comment or ask the Experts your question.

 
[+][-]01/28/06 04:02 PM, ID: 15815099Administrative Comment

Experts Exchange has a courteous staff of administrators who help members get the most out of the website by means of administrative comments like this one.

Start your 30-day free trial to view this Administrative Comment or ask the Experts your question.

 
[+][-]02/02/06 05:15 PM, ID: 15859147Administrative Comment

Experts Exchange has a courteous staff of administrators who help members get the most out of the website by means of administrative comments like this one.

Start your 30-day free trial to view this Administrative Comment or ask the Experts your question.

 
 
Loading Advertisement...
20091021-EE-VQP-81