留言板

LDAP Group Creation

Pete Murphy,修改在6 年前。

LDAP Group Creation

New Member 发布: 1 加入日期: 16-9-19 最近的帖子
What would be the best way to create a few hundred LDAP groups using Liferay. These groups can be mapped to roles. I don't want to have to create each one individually but would rather do it through an xml script similar to how I used to do it with IBM Websphere portal. Thanks.
thumbnail
Christoph Rabel,修改在6 年前。

RE: LDAP Group Creation

Liferay Legend 帖子: 1554 加入日期: 09-9-24 最近的帖子
The best way to create a few hundred groups is probably by importing an ldif with ldapmodify.

You could of course create the groups in Liferay and use the export functionality to export the groups to ldap. Or you could write a portlet and program it yourself. Maybe you could even call the PortalLDAPExporter/PortalToLDAPConverter directly, but all those solutions are kinda roundabout.
thumbnail
Jack Bakker,修改在6 年前。

RE: LDAP Group Creation

Liferay Master 帖子: 978 加入日期: 10-1-3 最近的帖子
Pete Murphy:
What would be the best way to create a few hundred LDAP groups using Liferay. These groups can be mapped to roles. I don't want to have to create each one individually but would rather do it through an xml script similar to how I used to do it with IBM Websphere portal. Thanks.

Which LDAP ? AD, openldap, or ...
And when you say 'create', do you mean create in LDAP ? or create usergroup/role in Liferay based on import from LDAP ?