Is there a way i can trigger ldapPeopleJobDetail job for running LDAP sync on a node(host) remotely. Like triggering it via a curl command or any other way?
Hi,
The ldapPeopleJobDetail is an scheduled job that It is fired automatically by Alfresco. It is not possible in community version to be fired using an external integration like cURL, REST,...
Maybe you could develop a custom webscript which controller fires the ldapPeopleJobDetail job. So, you could run the webscript then the webscript could run the job.
Hi:
I'm not sure if this is possible now in Alfresco 7.2 CE, but in Alfresco 5.2 CE I used some recipes for sync LDAP on demand in Alfresco Community (via OOTB Support Tools or JS Console). Check this:
https://www.zylk.net/es/web-2-0/blog/-/blogs/how-to-sync-ldap-users-and-groups-in-alfresco-ecm
Maybe you can create a custom webscript based on OOTB action or JS Console code.
Kind regards.
--C.
Ask for and offer help to other Alfresco Content Services Users and members of the Alfresco team.
Related links:
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.