Fórum

Restrict LDAP to specific site

thumbnail
Bharamani P Tashildar, modificado 6 Anos atrás.

Restrict LDAP to specific site

Junior Member Postagens: 48 Data de Entrada: 27/08/14 Postagens Recentes
Hi All,

How to restrict LDAP(Microsoft Active Directory) user store to the specific site?

Connecting two LDAP(Microsoft Active Directory) to Liferay DXP. Ex- 'LDAP A' and 'LDAP B'
Created two sites. Ex-'Site A' and 'Site B'

So need to restrict 'LDAP A' to 'Site A' and 'LDAP B' to 'Site B'

How to achieve this?

Please provide inputs .............

Thanks
Bharamani T
thumbnail
Christoph Rabel, modificado 6 Anos atrás.

RE: Restrict LDAP to specific site

Liferay Legend Postagens: 1554 Data de Entrada: 24/09/09 Postagens Recentes
If you need to completely separate the two usergroups you need to create Portal Instances. Then everything, users, content and configuration is separated.

Otherwise, in the same instance, all users are added to the same "global" store and you can't restrict that. But you can divide them by membership. But you could create a site A and a site B and make the users from ldap A members of site A and do the same with site B and ldap B.

How you would do that depends on your setup. A possible way would be to create a group "AllSiteAUsers" in Active Directory A, import it and add the group AllSiteAUsers to Site A. Same with Group B.
thumbnail
Jack Bakker, modificado 6 Anos atrás.

RE: Restrict LDAP to specific site

Liferay Master Postagens: 978 Data de Entrada: 03/01/10 Postagens Recentes
To add to what Chrisoph wrote, you could additionally set the group import filter for ldap A to be different from ldap B, but that alone doesn't handle the association of an imported usergroup with a site - something which is done in Liferay itself.