Turn off background sync
Hi!
We have a have a golden triangle setup with PHD users who sync at login and logout. We dont want any background sync to take place since many users are on a wireless network resulting in a lot of incomplete syncs and so on.
The problem we have is that the the background sync settings keeps reverting to the default settings e.g ~/ and automatic sync turned on.
To avoid this we send out a MCX setting to all users to manage these settings but it seems that, especially for wireless users, the MCXd doesnt maintain that MCX after the cache expires so the client starts to sync in the background again...
Sometimes it works to dirty the cache and trash the local com.apple.homeSync.plist file but the problem comes back after awhile.
We have tried to use a launchd job that turns automatic sync off; "defaults write com.apple.homeSync periodicSyncOn 0"
This runs every time a user logs in but mcxd doesnt seem to pick this up until a restart and even then the background sync kicks in from time to time...
Another thing we've tried is to copy a "clean" com.apple.homeSync.plist with all the correct settings whenever a user logs in.
This works in the sense that background syncs in off but since it writes a timestamp in this file when a sync occurs it will think that the nethome and localhome is out of sync.
So, it all boils down to; How do I turn off backgound sync completely ?
Best regards,
Daniel