LDAP 身份验证已启用。测试 LDAP 连接返回成功。测试 LDAP 用户返回用户列表。测试 LDAP 组也成功了。
我退出 Test@Liferay.com 并尝试以从“测试 LDAP 用户”返回的用户身份登录。身份验证失败。
Liferay 很快就会抛出身份验证失败,就好像它甚至没有检查 Active Directory 一样。
有什么建议么?谢谢!
LDAP 身份验证已启用。测试 LDAP 连接返回成功。测试 LDAP 用户返回用户列表。测试 LDAP 组也成功了。
我退出 Test@Liferay.com 并尝试以从“测试 LDAP 用户”返回的用户身份登录。身份验证失败。
Liferay 很快就会抛出身份验证失败,就好像它甚至没有检查 Active Directory 一样。
有什么建议么?谢谢!
Liferay 不连接到 LDAP 进行身份验证。它将 LDAP 实体(用户/组)导入到它自己的数据库中。只有在导入之后,您才能从 LDAP(Liferay 的用户副本)对用户进行身份验证。
您是如何设置 LDAP 导入设置的?启动时?定期?
更新:
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
通常,开始对这些问题进行故障排除的最佳方法是使用 WireShark 之类的工具获取网络跟踪,并查看正在拨打的电话以及相应的回复。