Our Open Directory server messed up last week and it resulted in the whole thing having to be rebuilt over the weekend. Most of it went smoothly however as the Open Directory Host Name was changed things got a bit funny.
User mappings were all different so I unbound from the old OD/rebound to the new OD, chown-ed the home folder to the new user and deleted the old certificates from the keychain. It seems to have worked but the only problem is that user profiles aren't doing what they're supposed to. I've added in some mail accounts to a user profile and, if that user logs in to a machine that they previously have, no mail accounts are being created. If the user logs into a machine they have never logged into before - the accounts create automatically via the user profile.
I know there must be something I'm missing here as deleting the user's home directory and logging in fresh doesn't work (the profiles are pulled from the server but the mail accounts aren't added). Is there some other place that OS X stores user account information or previously logged in users (like mobile users or similar)?
In short I've effectively switched binding Open Directory, trying to keep the home directory. Strangely settings like Dock/Finder being configured via the profile manager are read and accepted by the user's machine so it seems to be just mail (so far) that's not working.