2 * Copyright (c) 2004 Kungliga Tekniska Högskolan
3 * (Royal Institute of Technology, Stockholm, Sweden).
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions
10 * 1. Redistributions of source code must retain the above copyright
11 * notice, this list of conditions and the following disclaimer.
13 * 2. Redistributions in binary form must reproduce the above copyright
14 * notice, this list of conditions and the following disclaimer in the
15 * documentation and/or other materials provided with the distribution.
17 * 3. Neither the name of the Institute nor the names of its contributors
18 * may be used to endorse or promote products derived from this software
19 * without specific prior written permission.
21 * THIS SOFTWARE IS PROVIDED BY THE INSTITUTE AND CONTRIBUTORS ``AS IS'' AND
22 * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
23 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
24 * ARE DISCLAIMED. IN NO EVENT SHALL THE INSTITUTE OR CONTRIBUTORS BE LIABLE
25 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
26 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
27 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
28 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
29 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
30 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
41 help = "principal to add"
42 argument = "principal"
49 help = "key version number"
57 help = "encryption type"
63 help = "password for key"
69 help = "use unsalted keys"
76 help = "generate random key"
82 help = "password is a hexadecimal string"
85 help = "Adds a key to a keytab."
102 help = "server to contact"
108 argument = "port number"
109 help = "port number on server"
111 function = "kt_change"
112 argument = "[principal...]"
113 help = "Change keys for specified principals (default all)."
118 argument = "source destination"
121 help = "Copies one keytab to another."
129 help = "admin principal"
130 argument = "principal"
136 help = "encryption types to use"
144 help = "realm to use"
147 long = "admin-server"
151 help = "server to contact"
157 argument = "port number"
158 help = "port number on server"
162 argument = "principal..."
163 help = "Change keys for specified principals, and add them to the keytab."
170 help = "show key values"
175 help = "show timestamps"
179 help = "Show contents of keytab."
186 help = "age to retiere"
191 function = "kt_purge"
192 help = "Remove superceded keys from keytab."
201 help = "principal to remove"
202 argument = "principal"
208 help = "key version to remove"
216 help = "enctype to remove"
220 function = "kt_remove"
221 help = "Remove keys from keytab."
225 function = "kt_rename"
229 help = "Renames an entry in the keytab."
239 help = "name of Kerberos 4 srvtab"
240 default = "/etc/srvtab"
244 help = "Convert a Kerberos 4 srvtab to a keytab."
254 help = "name of Kerberos 4 srvtab"
255 default = "/etc/srvtab"
258 function = "srvcreate"
259 help = "Convert a keytab to a Kerberos 4 srvtab."