Fórum

LDAP - Liferay organization sync

Dimitris Siotas, modificado 8 Anos atrás.

LDAP - Liferay organization sync

New Member Postagens: 5 Data de Entrada: 24/08/15 Postagens Recentes
Hello everyone!
We have an ldap with a specific structure and a liferay 6.2 ga3 portal.
The ldap server has 13 organizational units (ou) which are the departments of an organization. Inside this OU's we will place the users

We want to know if there is a way through configuration, that liferay can get the ldap OU's an put them as liferay organizations

Thanks in advance for the help!
thumbnail
Meera Prince, modificado 8 Anos atrás.

RE: LDAP - Liferay organization sync

Liferay Legend Postagens: 1111 Data de Entrada: 08/02/11 Postagens Recentes
Hi
Try this it may help you something...

http://www.liferaysavvy.com/2013/10/liferay-ldap-integration_8.html


Regards,
Meera Prince
Dimitris Siotas, modificado 8 Anos atrás.

RE: LDAP - Liferay organization sync

New Member Postagens: 5 Data de Entrada: 24/08/15 Postagens Recentes
Thank you very much for the quick response.

That really helped me a lot for setting the ldap-liferay , and worked fine, but it as next step it would be great if liferay could get ldap OU's directly and create the equivalent liferay organizations.

i couldn't make it, and to tell the truth i don't know if its possible to do. If we can't we have to find another solution.
thumbnail
Ho Yin Edward Chow, modificado 8 Anos atrás.

RE: LDAP - Liferay organization sync

Junior Member Postagens: 53 Data de Entrada: 28/08/13 Postagens Recentes
As far as I know, this is something that you have to using a hook. Within the hook you could map the OU to a Liferay User Group and then have the User Group as a member of the organization (not a default feature).
thumbnail
Meera Prince, modificado 8 Anos atrás.

RE: LDAP - Liferay organization sync

Liferay Legend Postagens: 1111 Data de Entrada: 08/02/11 Postagens Recentes
Hi
For more information please look at source code then you will get clarity for your next step and as Ho Yin Edward Chow said we may need to create hook for your requirement.

https://github.com/liferay/liferay-portal/blob/6.2.x/portal-impl/src/com/liferay/portal/security/ldap/PortalLDAPExporterImpl.java

Look at these package ldap classes


https://github.com/liferay/liferay-portal/tree/6.2.x/portal-impl/src/com/liferay/portal/security/ldap

Regards,
Meera Prince
Dimitris Siotas, modificado 8 Anos atrás.

RE: LDAP - Liferay organization sync

New Member Postagens: 5 Data de Entrada: 24/08/15 Postagens Recentes
Thank you both very much.

We will see the source and try to make a hook .
Ivan Prakasa, modificado 7 Anos atrás.

RE: LDAP - Liferay organization sync

New Member Postagens: 7 Data de Entrada: 24/08/16 Postagens Recentes
Can anyone share how to make a hook?

Thank you