我在 Windows 2008 服务器上安装了 Apache 2.4 和 PHP 5.4。我正在尝试针对 Active Directory 服务器进行身份验证。我在 httpd.conf 中取消了以下注释
LoadModule authnz_ldap_module modules/mod_authnz_ldap.so
LoadModule ldap_module modules/mod_ldap.so
我创建了以下别名
Alias /Website "C:/Web/Aliases/Website"
<Location /Website>
# 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
</Location>
但是,当我尝试访问该网站时,我得到 a500 Internal Server Error
并且 error.log 给出以下内容
[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?
关于我做错了什么的任何想法?