Howto Setup Active Directory Authentication With Apache WebServer

Posted on in Categories Apache, Linux, Windows server 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

Posted by: Vivek Gite

The author is the creator of nixCraft and a seasoned sysadmin and a trainer for the Linux operating system/Unix shell scripting. He has worked with global clients and in various industries, including IT, education, defense and space research, and the nonprofit sector. Follow him on Twitter, Facebook, Google+.

7 comment

  1. 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.

  2. 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.

Leave a Comment