Solved

login validation against Exchange server

Posted on 1998-09-23
4
201 Views
Last Modified: 2013-12-25
Is it possible to have Apache server on Linux validate the users login against a MS Exchange server and if so, how?
0
Comment
Question by:k_martin
[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
4 Comments
 
LVL 28

Expert Comment

by:sybe
ID: 1828775
I don't quite understand:

do you want to let users login on the Exchange Server and then automatically give them access to the Apache server ?

or the other way around ?

or even something else.

Exchange server uses NT security for login. And I would not want to interfere with the way Exchange Server does that, it seems a very complicated system, in which NT security and ASP's questioning a database are cooperating.

I have looked into the ASP's of Exchange Server and I do not want to edit it (and I am usually not really afraid of messing things up).


0
 

Author Comment

by:k_martin
ID: 1828776
The web server would have something like htaccess files or cgi script but instead of looking a a password file locally it would validate the user by calling some function on the Exchange server.

If someone within the company connects to the web server, since they must have logged in to get access to the network, they would validate ok. If someone from the Internet accessed the web server they would be validated against the Exchange server and allowed access if they were valid users.

In either case I would also like to be able to get the email address for a valid user from the Exchange server from a perl script of the web server.

This may be all a bit off target and maybe I need to go away and think about it some more. Some of our web pages send data back to the viewer by email.
0
 
LVL 1

Expert Comment

by:alweiner
ID: 1828777
There's a free product named Samba which can make a Unix box look like (and authenticate from) an NT server.  I think that might be the right direction for your quest...
0
 
LVL 11

Accepted Solution

by:
mouatts earned 200 total points
ID: 1828778
To do this you will need to communicate with the exchange server using the MAPI interface. (Messaging API) this provides the routines to establish a connection to the exchange server and obtain user information (as well as send messages).

If you have access to a Windows C complier such as Visual C++ you will find all the details in the documentation.

The big issue for you is does a Linux version of the library exist. Although I have not actually come across one I would think that one does exist if you check one of the Linux resouces.

Steve
0

Featured Post

Major Incident Management Communications

Major incidents and IT service outages cost companies millions. Often the solution to minimizing damage is automated communication. Find out more in our Major Incident Management Communications infographic.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Batch File- Finding Drive Description 11 52
form isn't working is it missing a document 21 62
Google Chrome: Debugging AJAX call 6 33
script to read text file 34 21
This tutorial will discuss the log-in process using WhizBase. In this article I assume you already know HTML. I will write the code using WhizBase Server Pages, so you need to know some basics in WBSP (you might look at some of my other articles abo…
Making a simple AJAX shopping cart Couple years ago I made my first shopping cart, I used iframe and JavaScript, it was very good at that time, there were no sessions or AJAX, I used cookies on clients machine. Today we have more advanced techno…
Learn the basics of if, else, and elif statements in Python 2.7. Use "if" statements to test a specified condition.: The structure of an if statement is as follows: (CODE) Use "else" statements to allow the execution of an alternative, if the …
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)

738 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