Imported Upstream version 1.10.2
[platform/upstream/krb5.git] / doc / rst_source / krb_admins / database / ldap_operations / edir_del_so.rst
1 eDir: Destroying a Service Object
2 ===================================
3
4
5 The *destroy_service* command is used to destroy an existing service::
6
7    destroy_service [-force] [-f stashfilename] service_dn
8      
9
10 Options are as follows 
11
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 =================== ======================
17
18 For example::
19
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
22
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.
27      shell%
28      
29
30 ------------
31
32 Feedback:
33
34 Please, provide your feedback at krb5-bugs@mit.edu?subject=Documentation___edir
35
36