在 Liferay 用户组中看不到 LDAP 组
![在此处输入图像描述][1]我创建了从 LDAP 到 Liferay 的用户和组链接。当我在 liferay 中测试时,我可以看到 LDAP 用户和组。
当我重新启动liferay服务器时,我可以在Liferay用户中看到LDAP用户,但在Liferay用户组中看不到LDAP组。有人帮助我吗?感谢你。
![enter image description here][1]I made user and group link from LDAP to Liferay. When I test in liferay, I can see LDAP user and group.
When I restart liferay server, I can see LDAP user in Liferay user, but I cannot see LDAP group in Liferay User Groups. any body help me? thank u.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
![扫码二维码加入Web技术交流群](/public/img/jiaqun_03.jpg)
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
在 Liferay 中有两种导入用户/组的方法。这是由 ldap.import.method 属性控制的。该属性有两个可能的值:
user
- 在这种情况下,导入将循环遍历 LDAP 中的所有用户,并且对于每个用户,与正确的组(Liferay 中的 UserGroup)建立关联。为了使其正常工作,LDAP 中的每个用户都应该有一个指向其角色的链接。group
- 在这种情况下,导入将循环遍历 LDAP 中的所有组,并针对每个组导入所有用户。为了使其正常工作,您的组成员身份应在 LDAP 中正确设置。也许您正在使用某种导入方法,但您的 LDAP 树没有设置正确的链接?
In Liferay there are two ways to import users/groups. This is controlled by the
ldap.import.method
property. This property has two possible values:user
- In this case, the import will loop over all users in LDAP and, for each user, make an association to the right group (UserGroup in Liferay). For this to work correctly, each user in LDAP should have a link to his roles.group
- In this case, the import will loop over all groups in LDAP and, for each group, import all users. For this to work correctly, your group memberships should be set up correctly in LDAP.Probably, you're using a certain import method but your LDAP tree doesn't have the correct links set up?