We're currently in the phase of moving away from Centrify to Casper and use a script that basically, removes the AD object from the machine, with a service account. Then utilises the Centrify Uninstall script and force uninstalls centrify with no interaction, after the uninstallation is finished we install Casper via the QuickAdd.pkg created in recon and a couple of custom written prompts to re-name the machine to a new naming convention then update the Inventory database. The Mac is rebound to the domain via an enrollment policy based on the naming convention smart group. So the machine side for us is fine.
My question comes now when migrating the users profile what is the best way to migrate the users profile and keep the data and preferences in tact, what i've been doing is playing with the following command:
sudo chown -R firstname.lastname:'Domain\Domain Users' /Users/firstname.lastname
The user then logs into the Mac for the first time after being bound with Casper, on some instances i'm seeing OS X would like to repair library prompt and other times this works first time when the user logs in and data is there, so are there any other methods.
Any ideas on a full proof solution?