Sun Java System Delegated Administrator 6.4 Administration Guide

ProcedureTo permanently remove an entire domain

This procedure permanently removes a domain from the directory. All user, group, and resource entries in the domain are also removed from the directory.

  1. Mark the domain as deleted by running the commadmin domain delete command.

    For example, to mark the domain as deleted:

    commadmin domain delete -D chris -w bolton -d -n

    You also can use the Delegated Administrator console to mark the domain for deletion by selecting the organization on the Organizations page and clicking Delete.

  2. Remove resources from all users, groups, and resources in the domain.

    A resource can be a mailbox or a calendar.

    For mail services, run the msuserpurge utility.

    Refer to the Sun Java System Messaging Server Administration Reference for information about the msuserpurge utility.

    For calendar services, run the csclean utility.

    Refer to the Sun Java System Calendar Server Administration Guide for information about the csclean utility.

    Note –

    If the mailbox or calendar of any user in the domain is not removed, the domain cannot be removed. For example, for mail service, be sure that the grace period has been reached and that the msuserpurge utility has been run on all mail message stores encompassed by the domain.

  3. Permanently remove the domain by invoking the commadmin domain purge command.

    For example, to remove the domain:

    commadmin domain purge -D chris -w bolton -d -n