Foren

LDAP Group Creation

Pete Murphy, geändert vor 6 Jahren.

LDAP Group Creation

New Member Beitrag: 1 Beitrittsdatum: 19.09.16 Neueste Beiträge
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, geändert vor 6 Jahren.

RE: LDAP Group Creation

Liferay Legend Beiträge: 1554 Beitrittsdatum: 24.09.09 Neueste Beiträge
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, geändert vor 6 Jahren.

RE: LDAP Group Creation

Liferay Master Beiträge: 978 Beitrittsdatum: 03.01.10 Neueste Beiträge
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 ?