Apache mod_authnz_ldap错误500
Ubuntu 12.04 LTS 阿帕奇/ 2.2.22 http://server/lightsquid/给用户名/密码请求窗口,然后«500内部服务器错误»。 无论使用用户名和密码,错误都会上升:有效或无效。 如果线Require valid-user被删除,一切工作正常,所以问题是在mod_authnz_ldap模块。 模块mod_authnz_ldap已启用。 Apacheconfiguration: Alias /lightsquid /usr/lib/cgi-bin/lightsquid <Directory "/usr/lib/cgi-bin/lightsquid"> AddHandler cgi-script .cgi Options +ExecCGI Order allow,deny Allow from all AuthType Basic AuthName "USE YOUR WINDOWS ACCOUNT" AuthBasicProvider ldap AuthzLDAPAuthoritative on #AuthzLDAPAuthoritative off #AuthUserFile /dev/null AuthLDAPBindDN "CN=squid_auth,DC=domain,DC=ru" AuthLDAPBindPassword "*****************" AuthLDAPURL "ldap://dc2.domain.ru/dc=domain,dc=ru?sAMAccountName?sub?(objectClass=*)" Require valid-user </Directory> 将AuthzLDAPAuthoritative off更改为 AuthzLDAPAuthoritative AuthUserFile /dev/null […]