How do start the LDAP import process manually in Liferay?

1. Javascript LDAP Force Import : In Control Panel > Server Administration > Scripts > Javascript


Packages.com.liferay.portal.security.ldap.PortalLDAPImporterUtil.importFromLDAP();


This will work on if LDAP import is enabled.




I don't think there is any direct way to reset the LDAP import timer apart from the following property in Liferay portal-ext.properties.


ldap.import.interval=10


You can set logging to DEBUG for com.liferay.portal.security.ldap.PortalLDAPImporterImpl to see what the LDAP import process is doing for each user.