LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 02-04-2006, 08:45 AM   #1
iNeo
LQ Newbie
 
Registered: Feb 2006
Posts: 13

Rep: Reputation: 0
Apache intranet authentication for webapps


Hi All,
I have a couple of issues that I need some help on.

The intranet I work on is a Windows NT Domain. I have installed a Debian Linux server with Apache2 and am hosting several webapps (PHP and MySQL based mainly) there. The problem is that each of them require users to sign up before they are used. What I have to do is work around this problem.
For this I want the Apache server to authenticate a user when they try to view a web page there. When a user access the webapp.
Apache should authenticate them by connecting to the LDAP (??) server and if it is a valid user connecting for the first time should add an entry in the database or if an entry already exists then should just allow them to access the app.
If the user is not a valid user (Apache should let me know this) then display and error.
Does this sound correct?

My next problem is...
On the Debian server I installed Apache2 deb and when I try to see what modules are present with Apache I get this
Code:
Compiled in modules:
  core.c
  mod_access.c
  mod_auth.c
  mod_log_config.c
  mod_logio.c
  mod_env.c
  mod_setenvif.c
  prefork.c
  http_core.c
  mod_mime.c
  mod_status.c
  mod_autoindex.c
  mod_negotiation.c
  mod_dir.c
  mod_alias.c
  mod_so.c
I downloaded the libapache-auth-ldap deb and then did a 'dpkg -i libapache-auth-ldap' which told me the package was successfully installed, but even after that could not see the ldap auth module with apache.
How do I get this working and how do I know it is working.
Any help on this would be greatly appreciated. Thanks in advance.
 
Old 02-15-2006, 07:49 AM   #2
iNeo
LQ Newbie
 
Registered: Feb 2006
Posts: 13

Original Poster
Rep: Reputation: 0
I just found out that the Windows Domain is a Windows 2003 Domain. It has an LDAP interface (whatever that means).
so does anyone know how I can get webapps to authenticate against that?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
creating an intranet using apache Snerkel Linux - Software 8 11-09-2004 10:44 PM
Apache/tomcat/webapps: Invalid command 'WebAppDeploy' (and WebAppInfo) jeroenvrp Debian 2 10-18-2004 02:07 AM
Apache doesn't like internet connections, allows intranet Eyaw_Nayr Linux - Networking 3 08-24-2004 07:32 AM
Apache doesn't like internet connections, allows intranet Eyaw_Nayr Linux - Software 1 08-20-2004 05:17 PM
Intranet - apache - samba geertm Linux - Networking 22 04-09-2003 12:26 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 08:56 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration