Howto Setup Active Directory Authentication With Apache WebServer

by on April 28, 2007 · 5 comments· Last updated April 28, 2007

Recently I was doing some consultancy work and they need to authenticate users using Active Directory service. However you need to compile Apache web server to add LDAP bindings. Apache LDAP allows an LDAP directory to be used to store the database for HTTP Basic authentication.

Next load LDAP module, configure directory security and you are done.

You don't have to install and use samba package :)

There is a good howto that explains configuration parameters and other stuff.

How to Configure Apache Authentication with Active Directory



You should follow me on twitter here or grab rss feed to keep track of new changes.

Featured Articles:

{ 5 comments… read them below or add one }

1 kanat September 23, 2009 at 5:31 am

I have a web server running on FreeBSD7.2 using apache2. I want authenticate users via AD using ldap module. After some googling I have found some recommended instructions. But it couldn’t help me. I need a help to get detailed explanations of my problem.

Reply

2 Abhijit April 30, 2010 at 2:53 pm

Hi,
Can you please share more details on “How to steps”
Any help will be appreciated.

I have installed Apache web server on Solaris10 OS -
Server version: Apache/2.2.14 (Unix)
Server built: Feb 5 2010 16:36:14

I need to configure Apache web server with Windows Active Directory LDAP can you please give me head start in this regards.

Reply

3 Randy September 16, 2010 at 1:37 pm

Did any of you ever solve this?
If so, where did you get the instructions?

Reply

4 Surendra Kumar anne June 16, 2011 at 4:18 pm

Here is the link to get the step by step procedure on how to implement Apache-AD integration.

http://www.linuxnix.com/2011/01/apache-integration-setup-active-directoryad.html

Reply

5 Sumit March 12, 2013 at 10:48 am

Is there a way to hide the password from config file? May be use the credentials entered by authenticating user? Just a thought, may be other possible ways.

Reply

Leave a Comment

You can use these HTML tags and attributes for your code and commands: <strong> <em> <ol> <li> <u> <ul> <blockquote> <pre> <a href="" title="">
What is 11 + 14 ?
Please leave these two fields as-is:
Solve the simple math so we know that you are a human and not a bot.



Previous post:

Next post: