Minor reformating of kdb5_ldap_util documentation. Also, removed duplicates from...
[krb5.git] / doc / rst_source / krb_admins / database / ldap_operations / ldap_del_realm.rst
index 1e729e03dceee984891ec4226ec3ce1cc4d8f8c7..6577aae51f85af217f2814802532841ba9e8c677 100644 (file)
@@ -2,30 +2,13 @@ Destroying a Kerberos realm
 ===============================================
 
 
-To destroy a Kerberos realm, use the command as follows::
+If you need to destroy a Kerberos realm, use the :ref:`kdb5_ldap_util(8)` **destroy** command as follows.
 
+.. include:: ../../admin_commands/kdb5_ldap_util.rst
+   :start-after:  _kdb5_ldap_util_destroy:
+   :end-before: _kdb5_ldap_util_destroy_end:
+     
 
-   destroy [-f] [-r realm]
-
-Options are as follows
-
-============= =======================
--f             If specified, will not prompt the user for confirmation. 
--r *realm*     Specifies the Kerberos realm of the database; by default the realm returned by krb5_default_local_realm (3)is used. 
-============= =======================
-
-|
-
-For example::
-
-     shell% kdb5_ldap_util -D cn=admin,dc=example,dc=com -H ldap-server1.mit.edu destroy -r ATHENA.MIT.EDU
-
-
-     Password for "cn=admin,dc=example,dc=com":
-     Deleting KDC database of 'ATHENA.MIT.EDU', are you sure?
-     type 'yes' to confirm)? Yes
-     OK, deleting database of 'ATHENA.MIT.EDU'...
-     shell%
 
 ------------