Running LDAP sync job on a specific node remotely

cancel
Showing results for 
Search instead for 
Did you mean: 
VS
Active Member II

Running LDAP sync job on a specific node remotely

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?

2 Replies
scampoy1
Active Member

Re: Running LDAP sync job on a specific node remotely

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.

cesarista
Customer

Re: Running LDAP sync job on a specific node remotely

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.