Forums de discussion

How to debug the LDAP integration

thumbnail
Balaji Murugesan, modifié il y a 12 années.

How to debug the LDAP integration

Junior Member Publications: 74 Date d'inscription: 10/11/10 Publications récentes
Hi,

We have configured LR to import users from LDAP server and facing some issues like the roles is not getting imported.
Is there any way by which this can be debugged or add logs to check this.

Thanks,
Bala
thumbnail
Mani kandan, modifié il y a 12 années.

RE: How to debug the LDAP integration

Expert Publications: 492 Date d'inscription: 15/09/10 Publications récentes
Did you Enabled LDAP in Control Panel?

Or else give this line portal-ext.properties file

ldap.import.create.role.per.group=true
thumbnail
Balaji Murugesan, modifié il y a 12 années.

RE: How to debug the LDAP integration

Junior Member Publications: 74 Date d'inscription: 10/11/10 Publications récentes
Mani, i have enabled and thats why i am able to import user details... but some attributes are not getting imported, so wanted to debug...
thumbnail
Jack Bakker, modifié il y a 12 années.

RE: How to debug the LDAP integration

Liferay Master Publications: 978 Date d'inscription: 03/01/10 Publications récentes
you might want to go to Server Administration : Log Levels and increase the logging level for com.liferay.portal.security.ldap.PortalLDAPUtil
thumbnail
Balaji Murugesan, modifié il y a 12 années.

RE: How to debug the LDAP integration

Junior Member Publications: 74 Date d'inscription: 10/11/10 Publications récentes
Thanks Jack, that works fine...
thumbnail
Mani kandan, modifié il y a 12 années.

RE: How to debug the LDAP integration

Expert Publications: 492 Date d'inscription: 15/09/10 Publications récentes
Did you give this in properties file?

ldap.groups.dn=ou=Groups,dc=localdomain
ldap.group.mappings=groupName=cn\ndescription=description\nuser=uniqueMember
ldap.import.group.search.filter=(objectClass=groupOfUniqueNames)


Then make sure you "Clear the database cache" in control panel

Follow the proper procedure here

And check this useful wiki