This procedure permanently removes users, groups, and Calendar resources from a domain. The domain itself remains intact in the LDAP directory. Only the LDAP entries selected for deletion are removed.
Mark the users, groups, and resources as deleted.
For example, to mark selected entries as deleted in the florizel.com domain:
commadmin user delete -D chris -w bolton -d florizel.com \ -n sesta.com -i deletedusers
commadmin group delete -D chris -w bolton -d florizel.com \ -n sesta.com -i deletedgroups
commadmin resource delete -D chris -w bolton -d florizel.com \ -n sesta.com -i deletedresources
In the preceding examples, deletedusers, deletedgroups, and deletedresources are input files listing the entries marked for deletion.
You also can use the Delegated Administrator console to delete entries:
Remove resources from the selected users, groups, and calendars 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.
Permanently remove the selected entries from the domain by invoking the commadmin domain purge command.
For example, to remove selected users, groups, and resources from the florizel.com domain:
commadmin domain purge -D chris -w bolton -d florizel.com -n sesta.com
In the preceding command, the florizel.com domain remains intact. Only the entries specified in the deletedusers, deletedgroups, and deletedresources input files are removed.