Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Cleaning out Open Directory




On Nov 7, 2007, at 4:53 PM, Peter J. Russell wrote:

Hi David,

Previously I have done the same but also cleaned out the password database - not sure if this is necessary or not.  These are the notes which I found somewhere (can't remember the site - sorry)

1) Open Server Admin application. Click Open Directory on the l.h.s. Click settings at the bottom of the window. Change the Role of the server to Stand Alone.

2) Reboot Server

3) Remove the contents of /var/db/authserver
        'rm -rf /var/db/authserver/*'

4) Remove /var/db/krb5kdc.pre-merge (if it exists)
        'rm -rf /var/db/krb5kdc.pre-merge'

5) Remove openldap backup.ldif file (if it exists)
        'rm -rf /var/db/openldap/openldap-data/backup.ldif'

6) Reboot

7) Open Server Admin application. Click Open Directory on the l.h.s. Click settings at the bottom of the window. Change the Role of the server to Open Directory Master. Use same settings as before demoting server to standalone.

8) Reboot

Hope this helps.


Be very careful with this!!! The PWS an contain local user passwords as well. Doing this would demolish those accounts.

Typically i just demote to standalone and then re-promote.

Josh


-- 

Josh Wisenbaker, ACSA

http://www.afp548.com

Breaking my server to save yours.


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Macos-x-server mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/macos-x-server/email@hidden

This email sent to email@hidden

References: 
 >Re: Cleaning out Open Directory (From: "Peter J. Russell" <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.