1 eDir: Destroying a Service Object
2 ===================================
5 The *destroy_service* command is used to destroy an existing service::
7 destroy_service [-force] [-f stashfilename] service_dn
10 Options are as follows
12 =================== ======================
13 -force If specified, will not prompt for user's confirmation, instead will force destruction of service.
14 -f *stashfilename* Complete path of the service password file from where the entry corresponding to the service_dn needs to be removed.
15 service_dn Distinguished Name (DN) of the Kerberos service to be destroyed.
16 =================== ======================
20 shell% kdb5_ldap_util -D cn=admin,dc=example,dc=com -H ldaps://ldap-server1.mit.edu
21 destroy_service cn=service-kdc,dc=example,dc=com
23 Password for "cn=admin,dc=example,dc=com":
24 This will delete the service object 'cn=service-kdc,dc=example,dc=com', are you sure?
25 (type 'yes' to confirm)? Yes
26 ** service object 'cn=service-kdc,dc=example,dc=com' deleted.
34 Please, provide your feedback at krb5-bugs@mit.edu?subject=Documentation___edir