cancel
Showing results for 
Search instead for 
Did you mean: 

Quick Question: How to force an ldap sync

bruyeria
Champ in-the-making
Champ in-the-making
Hello All.

I have edited my ldap-syncronization-context file, ldap-syncronization.properties, ldap-authentication-context, and ldap-authentication.properties. I have also added the usual lines to log4j to log ldap output.


I can succesfully log into alfresco using ldap users. But i want to run a sync.  If my system date says 13:15 i set the syncs to 13:20 or something along those lines, restart alfresco. but its not firing.

is there any way i can run the process manually?
7 REPLIES 7

ko08nz
Champ in-the-making
Champ in-the-making
Hi,

You'll find the information in:

/opt/Alfresco/tomcat/shared/classes/alfresco/extension/ldap-synchronisation.properties

and the explication about cron :
http://wiki.alfresco.com/wiki/Scheduled_Actions#Cron_Explained

bruyeria
Champ in-the-making
Champ in-the-making
Hello.
    Thanks for the reply, I have looked through the documents but i still havent been able to found how to force an ldap sync.  I understand perfectly how a cron works. However i do not wish to set it up untill i have completed my tests which means i need to run ldap sync untill im satisfied with the results.


    Is there some sort of command line tool i can use?

salmon
Champ in-the-making
Champ in-the-making
Did you find the way? I need the same thing…

thanx

marcobusetto
Champ in-the-making
Champ in-the-making
Did you find the way? I need the same thing…
Me too…   :roll:

p3d3r0s0
Champ in-the-making
Champ in-the-making
Hey, try putting this in your alfresco-global.properties file

synchronization.import.cron=0 0/10 * ? * *

this line means you will do a sync every 10 minutes starting in the minutes 00
more details on how to configure the time intervals, here:
http://www.quartz-scheduler.org/docs/tutorial/TutorialLesson06.html

marcobusetto
Champ in-the-making
Champ in-the-making
About the synchronization.import.cron maybe this link can help:
http://forums.alfresco.com/en/viewtopic.php?f=9&t=27340

_

squaricdot
Champ in-the-making
Champ in-the-making
i also can't find any possibility using webscripts to do this. it has something todo with issuing java directly i guess.

and there still no usefull reply ( i'm sorry too Smiley Wink ). Is there nobody from alfresco who can give us a proper answer? It seems like a pretty straighforward function thoughSmiley Wink.

Cheers.