【问题标题】:LDAP authentication apache 2.2 error 500LDAP 身份验证 apache 2.2 错误 500
【发布时间】:2011-05-25 20:03:36
【问题描述】:

这是我在 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

当我加载页面时,我会弹出密码和用户名。 但是当我填写它们时,我得到一个内部服务器错误。

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

拔掉我的头发!

【问题讨论】:

  • 您的搜索库 (dc=domain,dc=com) 看起来与您的绑定 DN (dc=agiledss,dc=local) 不匹配。
  • 抱歉打错了,但在我的默认文件中是正确的
  • 500 是客户看到的。您需要查看服务器端日志。离题。

标签: authentication ubuntu apache2 ldap


【解决方案1】:

尝试在 /etc/ldap/ldap.conf 中设置“REFERRALS off”。

【讨论】:

  • 试试看,为什么?仅仅猜测不是答案,无法解释的巫毒也不是。
猜你喜欢
  • 2018-06-25
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 2016-02-08
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
相关资源
最近更新 更多