Tiny Deathstars of Foulness

There are a number of instances when you cannot remove a replica from Open Directory using Server Admin. This can be due to a variety of reasons, but if you cannot remove the replica from Server Admin then try doing so using slapconfig. For example, if the replica has an IP of then the command would be:

slapconfig -removereplica

May 17th, 2009

Posted In: Mac OS X Server

Tags: , , ,

  • mat x

    Edge is awesome!

  • Jonathan Mergy

    Seems like it should be this now (in 10.6.8 at least)

    slapconfig -removereplica diradmin

  • Adi

    This doesn’t work. The replica is still there. This is what i get :

    pdc:~ admin$ sudo slapconfig -removereplica
    2015-05-01 18:32:45 +0000 slapconfig -removereplica
    2015-05-01 18:32:45 +0000 command: /usr/bin/kdestroy –credential=ldap/

    Any idea why the replica is not destroyed ?

    Thank you !