Windows Active Directory身份validation和XAMPP Apache服务器

我在Windows 2008服务器中安装了XAMPP服务器,并且想限制对htdocs文件夹的访问,所以只有在Active Directory中的用户才能看到我的Intranet网站。

我在http.confd中启用了以下模块:

 LoadModule authnz_ldap_module modules/mod_authnz_ldap.so LoadModule ldap_module modules/mod_ldap.so 

这是我的.htaccess文件:

 AuthLDAPBindDN "CN=Mohammad Hesabi,OU=IT Internal,OU=IT,OU=TT,DC=ttcom,DC=local" AuthLDAPBindPassword "password" AuthLDAPURL "ldap://172.16.2.3:389/OU=TT,DC=ttcom,DC=local?sAMAccountName?sub?(objectClass=*)" # if I remove the line below it gives me error 500 internal server error after first login attemp AuthLDAPBindAuthoritative off AuthType Basic AuthName "USE YOUR WINDOWS ACCOUNT" AuthBasicProvider ldap AuthUserFile /dev/null require valid-user 

但是,当我尝试login,我无法login和login框不断popup。

 [Sun May 11 10:09:37.444978 2014] [ldap:error] [pid 2080:tid 1764] (70023)This function has not been implemented on this platform: AH01277: LDAP: Unable to add rebind cross reference entry. Out of memory? [Sun May 11 10:09:37.444978 2014] [auth_basic:error] [pid 2080:tid 1764] [client ::1:2869] AH01618: user m.hesabi not found: /portal [Sun May 11 10:10:29.162149 2014] [ldap:error] [pid 2080:tid 1736] (70023)This function has not been implemented on this platform: AH01277: LDAP: Unable to add rebind cross reference entry. Out of memory? [Sun May 11 10:10:29.162149 2014] [auth_basic:error] [pid 2080:tid 1736] [client ::1:2872] AH01618: user [email protected] not found: /portal [Sun May 11 10:11:14.945727 2014] [ldap:error] [pid 2080:tid 1736] (70023)This function has not been implemented on this platform: AH01277: LDAP: Unable to add rebind cross reference entry. Out of memory? [Sun May 11 10:11:14.945727 2014] [auth_basic:error] [pid 2080:tid 1736] [client ::1:2873] AH01618: user ttcom\\m.hesabi not found: /portal [Sun May 11 10:11:23.042536 2014] [ldap:error] [pid 2080:tid 1736] (70023)This function has not been implemented on this platform: AH01277: LDAP: Unable to add rebind cross reference entry. Out of memory? [Sun May 11 10:11:23.042536 2014] [auth_basic:error] [pid 2080:tid 1736] [client ::1:2874] AH01618: user ttcom/m.hesabi not found: /portal 

正如你所看到的,我尝试使用域名后缀或其他可能性用户名,我用login窗口,但在日志中说,用户没有find….有什么不对?

感谢Cristian Ciupitu和我提供的链接我不得不承认,我已经低估了从密码中删除引号将解决我的问题,但似乎是解决scheme…无论如何,我从密码删除引号( "password"成为password )一切似乎工作到目前为止