title: Apache HTTP Server 2.4 LDAP (Active Directory) Authentication
body: <p>I have installed Apache 2.4 with PHP 5.4 on a Windows 2008 Server.  I am trying to authenticate against an Active Directory server.  I have uncommented the following in httpd.conf</p>
  
  <pre><code>LoadModule authnz_ldap_module modules/mod_authnz_ldap.so
  LoadModule ldap_module modules/mod_ldap.so
  </code></pre>
  
  <p>and I have created the following alias</p>
  
  <pre><code>Alias /Website "C:/Web/Aliases/Website"
  &lt;Location /Website&gt;
  
  # Using this to bind
  AuthLDAPBindDN "CN=John Doe,OU=Accounts,OU=CA,OU=Country,OU=Company Name,DC=com"
  AuthLDAPBindPassword "mypassword"
  # search user
  AuthLDAPURL "ldap://myserver/OU=Country,OU=Company,DC=com?poibri02?sub?(objectClass=*)"
  
  AuthType Basic
  AuthName "USE YOUR WINDOWS ACCOUNT"
  AuthBasicProvider ldap
  require valid-user
  
  &lt;/Location&gt;
  </code></pre>
  
  <p>However, when I try to access the website, I get a <code>500 Internal Server Error</code> and the error.log give the following</p>
  
  <pre><code>[Wed Jan 09 12:05:28.614839 2013] [ldap:error] [pid 3904:tid 1064] (70023)This function has not been implemented on this platform: AH01277: LDAP: Unable to add rebind cross reference entry. Out of memory?
  </code></pre>
  
  <p>Any ideas as to what I'm doing wrong?</p>