Foren

Active Directory nested groups

Alain Pigeon, geändert vor 13 Jahren.

Active Directory nested groups

New Member Beitrag: 1 Beitrittsdatum: 23.11.10 Neueste Beiträge
I've setup Liferay 5.2.3 and connected it to Active Directory on Windows 2003 RC2.
Everything works well as I am able to successfully login with AD accounts.

My only problem exists with nested groups. I am able to see the groups a user is directly member of, but not the parent group of the member group.

Example:
userA is member of group1
group1 is member of group2

Result: liferay sees that userA is member of group1, but not of group2.

Has anyone come across this problem and how have they resolved it?

Thanks in advance for any help.
thumbnail
Jan Gregor, geändert vor 13 Jahren.

RE: Active Directory nested groups

Regular Member Beiträge: 224 Beitrittsdatum: 20.10.10 Neueste Beiträge
Hi Alain,

This is unfortunatelly the default behaviour of Liferay, and to reach this functionality, there is a need to customize your LDAP import process.

For 5.2 you need to customize PortalLDAPUtil class, for 6.X there is a more elegant way, by using Spring injection and overriding specific class.

For more info, just search for LDAP in wiki.

Jan