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.
Cheers,
PJR
--
----- Original Message ----
From: David R. Steiner <email@hidden>
To: email@hidden
Sent: Thursday, 8 November, 2007 10:04:32 AM
Subject: Cleaning out Open Directory
This may be a simple one but I couldn't find an answer searching the
docs and the web.
I have a test instance of Open Directory running on my Xsan cluster.
OS is 10.4.10.
I would like to blow
away the entire OD set up and start again with a
clean DB without having to reinstall everything. Can anyone tell me
the best way to do this? ...or point me to the appropriate
documentation?
I am guessing it would be something like:
- Demoted OD master to a standalone server.
- dcsl -delete /LDAPv3
However, I am not sure if this is sufficient or too heavy handed.
TIA,
-David-
--------------------------------------------------------------------------------