?
Solved

login validation against Exchange server

Posted on 1998-09-23
4
Medium Priority
?
207 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
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 600 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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying 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

In this tutorial I will show you how to provide a dynamic RTF document on your website generated with data from your database. For this tutorial you will need Microsoft Word or WordPad, WhizBase and Microsoft Access. In this tutorial I will show …
A quick Powershell script I wrote to find old program installations and check versions of a specific file across the network.
The viewer will learn how to dynamically set the form action using jQuery.
In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…
Suggested Courses
Course of the Month14 days, 11 hours left to enroll

840 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