So we are setting up a new domain and migrating from 2 previous domains and I'm trying my best to script this correctly so the migration is smooth. I set this up as a policy on logout. So first I do a force unbind:
dsconfigad -force -remove
Then I have it rebind with the casper directory binding we created for the new domain.
Then I have it fix the user permissions for the new domain:
chown -R $3:"domain users" /Users/$3
Then I set the 14day timeout in OS X to 0:
dsconfigad -passInterval 0
My problem is that when all is said and done, everything appears to have correctly run, however at the login screen, when you login as that user again, it just pinwheels and never logs in. When you do a hard reboot though, it works fine. So I added a reboot to the script at the end, but it still just hangs.
Any ideas?
Gabe Shackney
Princeton Public Schools