MIDAS Active Directory (LDAP) IntegrationActive Directory Integration

Configuring Apache

In order for Apache to authenticate against an Active Directory server, the module "mod_auth_sspi.so" must be present and enabled. Once installed, this module can be enabled by adding the following line to your server's httpd.conf file:

LoadModule sspi_auth_module modules/mod_auth_sspi.so

Next, you will need to configure the directory on your server where your MIDAS resides to authenticate against your Active Directory. Again, this is done by adding the following to your httpd.conf file:

<Location "/midas/">
  AuthName "Intranet"
  AuthType SSPI
  SSPIDomain xxx.xxx.xxx.xxx
  SSPIAuth on
  SSPIOfferSSPI on
  SSPIAuthoritative on
  SSPIUsernameCase lower
  SSPIPerRequestAuth on
  SSPIOmitDomain on
  require valid-user
Where "/midas/" is the location where MIDAS resides on your server, relative to the root (usually "public_html"). And xxx.xxx.xxx.xxx is the IP address or domain name of your Active Directory server. In the above example, MIDAS resides under /public_html/midas/, and therefore the location to use is "/midas/"

Tip: You will need to restart Apache for changes you make to your httpd.conf file to take affect