Authentication LDAP身份验证apache 2.2错误500

Authentication LDAP身份验证apache 2.2错误500,authentication,ubuntu,apache2,ldap,Authentication,Ubuntu,Apache2,Ldap,这是我在Apache2.2.x中的LDAP配置 Order deny,allow AuthType Basic AuthName "Test" AuthBasicProvider ldap AuthLDAPURL "ldap://dc1.domain.com:389/DC=domain,DC=com?sAMAccountName" NONE AuthLDAPBindDN "CN=Administrator,CN=Users,DC=domain,DC=com" Auth

这是我在Apache2.2.x中的LDAP配置

  Order deny,allow
  AuthType Basic
  AuthName "Test"
  AuthBasicProvider ldap
  AuthLDAPURL "ldap://dc1.domain.com:389/DC=domain,DC=com?sAMAccountName" NONE
  AuthLDAPBindDN "CN=Administrator,CN=Users,DC=domain,DC=com"
  AuthLDAPBindPassword "secret"
  authzldapauthoritative Off
  require valid-user
当我加载页面时,我会弹出密码en username。 但当我填写它们时,我会得到一个内部服务器错误

如果我查看apache的错误日志,就不会看到新的错误。 如果我将BindPassword更改为错误的内容,则在/var/log/apache2/error.log中会出现错误


把我的头发拔出来

尝试在/etc/ldap/ldap.conf中设置“关闭引用”。

尝试在/etc/ldap/ldap.conf中设置“关闭引用”。

您的搜索库(dc=domain,dc=com)看起来与您的绑定DN(dc=agiledss,dc=local)不匹配。很抱歉,这是一个输入错误,但在我的默认文件中,它是right500,这是客户端看到的。您需要查看服务器端日志。离题。您的搜索库(dc=domain,dc=com)看起来与绑定DN(dc=agiledss,dc=local)不匹配。很抱歉,这是一个输入错误,但在我的默认文件中,它是right500,这是客户端看到的。您需要查看服务器端日志。离题,试试看为什么?单纯的猜测不是答案,无法解释的伏都教也不是。为什么?单纯的猜测不是答案,无法解释的巫毒也不是答案。