Solved

login validation against Exchange server

Posted on 1998-09-23
4
202 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

More Than Just A Video Library

Train for your certification. Learn the latest DevOps tools. Grow your skillset to do better work.

At Linux Academy, we release new training modules every week so you'll always be up to date on the latest tech.

Question has a verified solution.

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

Introduction:   Welcome to my first article ever. To begin with, the reason I write this article.  I participated in a question on Experts Exchange about the start command in Windows and there were some discussion about the usage. The discussio…
The Windows functions GetTickCount and timeGetTime retrieve the number of milliseconds since the system was started. However, the value is stored in a DWORD, which means that it wraps around to zero every 49.7 days. This article shows how to solve t…
Learn the basics of modules and packages in Python. Every Python file is a module, ending in the suffix: .py: Modules are a collection of functions and variables.: Packages are a collection of modules.: Module functions and variables are accessed us…
The viewer will learn how to dynamically set the form action using jQuery.

726 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