hello,

I'd like to force the order of the sync tasks, e.g synchronising groups AFTER synchronising users.

in my lsc.xml, the group task is after the user task.

but, with lsc -s all, the two tasks seems to run in parallel. I thought it was because of the number of threads.

so I tried with lsc -s all -t 1
but now, I can see the groups task is run BEFORE the users task.

so I tried with lsc -s users,groups
it's the same: the groups task is run BEFORE the users task.

so I tried with lsc -s users,groups -t 1
still no luck :-(

*** So, how can I order the tasks?

Usually, I run lsc as an asynchronous task. btw, the service is restarted every morning.
*** is it possible with this method to order the tasks?

When I start the asynchronous service, it would:
- search for the users, synchronize them, then notify the groups task, then wait for new modifications on user accounts - wait for a notify from the users task, search for the groups, synchronize then, then wait for new modifications on groups
- from now on, each modification is processed normally in each thread.

Is this possible at all?

TIA for any input. regards,

--
Jephté Clain
Direction des Systèmes d'Information
et des Usages Numériques - 2IG
Tél. 0262 93 86 31
Fax. 0262 93 81 06
_______________________________________________________________
Ldap Synchronization Connector (LSC) - http://lsc-project.org

lsc-users mailing list
[email protected]
http://lists.lsc-project.org/listinfo/lsc-users

Reply via email to