2015-02-26 13:13 GMT+01:00 Jephte Clain <[email protected]>: > Le 26/02/2015 12:57, Clément OUDOT a écrit : >> >> 2015-02-26 5:30 GMT+01:00 Jephte Clain <[email protected]>: >>> >>> hello, >>> >>> I just can't stop spamming the list :-) >>> this is because I try to keep one subject per thread. so bear with me ;-) >>> >>> on http://lsc-project.org/wiki/documentation/latest/execution/start >>> >>> it is not clear to me if the clean launch also does a synchronous launch. >>> I mean, given a task with conditions create, update, delete and changeId: >>> >>> -s task synchronizes a given object: >>> if (create OR update OR changeId) == true >>> and the actual action is to create, update, or rename >>> >>> -c task synchronizes a given object: >>> if (create OR update OR delete OR changeId) ==true >>> and the actual action is to create, update, delete or rename >>> >>> -a task synchronizes a given object: >>> if (create OR update OR changeId) == true >>> and the actual action is to create, update, or rename >>> >>> Is that correct? Or am I mistaken and -c only run tasks with condition >>> delete=true, and one has to use -s and -c together? >>> >>> also, does -a process renames? does it process deletes? >> >> > > hello, > >> >> So to sum up: >> >> -s : create/update/rename >> -c : delete >> -a : create/update/rename >> >> >> The case of rename is tricky: if the entry is renamed, no other >> modifications are made, only the renaming. You need to have another >> modification on the entry to get a new event and so the modifications >> applied to the destination entry. > > > Ok. So using -c only does the delete? > > http://lsc-project.org/wiki/documentation/latest/execution/start says > "In synchronous mode, LSC *can* also schedule a clean mode at the end of the > synchronous mode." (emphasis by me) > > does it mean that: > - you have to use 'lsc -s all -c all' and the clean phase (-c) is done after > the sync phase (-s) > OR > - you only write 'lsc -c all' and it does the sync phase THEN the clean > phase > > sorry, but this is not clear :-(
No, -c will never call sync phase, use 'lsc -s all -c all' to run sync before clean. Clément. _______________________________________________________________ Ldap Synchronization Connector (LSC) - http://lsc-project.org lsc-users mailing list [email protected] http://lists.lsc-project.org/listinfo/lsc-users

