3

LDAP 身份验证已启用。测试 LDAP 连接返回成功。测试 LDAP 用户返回用户列表。测试 LDAP 组也成功了。

我退出 Test@Liferay.com 并尝试以从“测试 LDAP 用户”返回的用户身份登录。身份验证失败。

Liferay 很快就会抛出身份验证失败,就好像它甚至没有检查 Active Directory 一样。

有什么建议么?谢谢!

4

3 回答 3

4

Liferay 不连接到 LDAP 进行身份验证。它将 LDAP 实体(用户/组)导入到它自己的数据库中。只有在导入之后,您才能从 LDAP(Liferay 的用户副本)对用户进行身份验证。

您是如何设置 LDAP 导入设置的?启动时?定期?

更新:

  • 您在有关 ldap 导入的日志中是否有错误?
  • 您使用哪个版本的 Liferay?
  • 您是否启用了导出到 ldap?(这对我来说从来没有用过,这意味着导入因导出而失败)
于 2011-09-28T08:56:36.443 回答
1

I also suffered with this problem before. I solved it now.

Do you enable the Export of LDAP. How you are doing the ldap configuration if you are using control panel-> Portal Setting then
You can check the search Filter of User portion and set objectClass=inetOrgPerson

于 2012-10-30T09:18:14.860 回答
0

通常,开始对这些问题进行故障排除的最佳方法是使用 WireShark 之类的工具获取网络跟踪,并查看正在拨打的电话以及相应的回复。

于 2011-09-21T17:28:46.827 回答