Recovering from a corrupted Open Directory Master/Replica system.
1. Export from ODM 'Users' (except your directory admin), 'Groups', 'Computers', 'Computer Groups'.
2. Degrade the OD Replicas, one at a time, to stand-alone.
3. Degrade the OD Master to stand-alone.
4. Restart the OD Master server.
5. Upgrade the OD Master from Stand-alone to OD Master.
6. Upgrade the OD Replicas, one at a time, from Stand-alone to OD Replica.
Rebind remote server to appropriate authentication server (OD Replica)
1. At the server, go to 'System Preferences' - 'Accounts' and unlock the panel with the local server admin login.
2. Click 'Login Options'.
3. Click the 'Edit' button next to 'Network Account Server'.
4. Click 'Open Directory Utility'.
5. Highlight 'LDAPv3' then click the pencil icon.
6. Highlight the configuration and click 'Delete', then click 'Okay' to unbind.
7. Enter the OD Directory Administrator name and password. (This will fail, but it is okay.)
8. Click 'Ok' to forcibly remove the configuration.
9. Click 'Ok'.
10. WHile LPADv3 is still highlighted, click the pencil icon again.
11. Click 'New'.
12. Enter the fully qualified name of the local OD Replica and click 'Continue'.
13. Enter the fully qualified name of the local server, the OD Directory Administrator Login and Password. Click 'Continue'.
14. Enter the local server administrator login and password.
15. Click 'Overwrite'.
16. Click 'Ok', then click 'Ok'. Quit Directory Utility. Close 'System Preferences'.
Reconnecting Home Directory Automounts.
1. At the local server, start 'Server Manager' and select 'File Sharing'.
2. Click 'Share Points' and select the Home Directory item.
3. Click the 'Share Point' option in the lower window.
4. Deslect 'Enable Automount'. Enter the OD Master Directory Administrator Login and Password and click 'Ok'.
5. Click 'Save'.
6. Select 'Enable Automount'. Ensure that the next window is pointing to the local OD Replica and click 'Ok'.
7. Click 'Save'. After clicking 'Save' you can edit the 'Protocol Options' to your preferences.
Restablish the users, groups, computers and computer groups.
1. Open 'Workgroup Manager' on the OD Master.
2. Import Users
3. Import User Groups
4. Import Computers. When importing Computers ensure that the 'ignore record' is selected.
5. Import Computer Groups.
After users have been imported, you can mass assigne them to their appropriate Home Directory location.