Foros de discusión

LDAP - Liferay organization sync

Dimitris Siotas, modificado hace 8 años.

LDAP - Liferay organization sync

New Member Mensajes: 5 Fecha de incorporación: 24/08/15 Mensajes recientes
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 hace 8 años.

RE: LDAP - Liferay organization sync

Liferay Legend Mensajes: 1111 Fecha de incorporación: 8/02/11 Mensajes recientes
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 hace 8 años.

RE: LDAP - Liferay organization sync

New Member Mensajes: 5 Fecha de incorporación: 24/08/15 Mensajes recientes
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 hace 8 años.

RE: LDAP - Liferay organization sync

Junior Member Mensajes: 53 Fecha de incorporación: 28/08/13 Mensajes recientes
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 hace 8 años.

RE: LDAP - Liferay organization sync

Liferay Legend Mensajes: 1111 Fecha de incorporación: 8/02/11 Mensajes recientes
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 hace 8 años.

RE: LDAP - Liferay organization sync

New Member Mensajes: 5 Fecha de incorporación: 24/08/15 Mensajes recientes
Thank you both very much.

We will see the source and try to make a hook .
Ivan Prakasa, modificado hace 7 años.

RE: LDAP - Liferay organization sync

New Member Mensajes: 7 Fecha de incorporación: 24/08/16 Mensajes recientes
Can anyone share how to make a hook?

Thank you