2 * Copyright (c) 2004 - 2007 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
33 /* $Heimdal: kadmin-commands.in 21969 2007-10-18 18:51:11Z lha $
43 help = "encryption type"
44 default = "des3-cbc-sha1"
51 help = "master key file"
56 help = "just convert keyfile to new format"
59 long = "master-key-fd"
62 help = "filedescriptor to read passphrase from"
65 help = "Writes the Kerberos master key to a file used by the KDC. \nLocal (-l) mode only."
75 argument = "[dump-file]"
78 help = "Dumps the database in a human readable format to the specified file, \nor the standard out. Local (-l) mode only."
84 long = "realm-max-ticket-life"
86 help = "realm max ticket lifetime"
89 long = "realm-max-renewable-life"
91 help = "realm max renewable lifetime"
95 help = "Initializes the default principals for a realm. Creates the database\nif necessary. Local (-l) mode only."
102 help = "Loads a previously dumped file. Local (-l) mode only."
109 help = "Merges the contents of a dump file into the database. Local (-l) mode only."
115 function = "add_new_key"
120 help = "set random key"
123 long = "random-password"
125 help = "set random password"
131 help = "principal's password"
136 help = "DES-key in hex"
139 long = "max-ticket-life"
142 help = "max ticket lifetime"
145 long = "max-renewable-life"
147 argument = "lifetime"
148 help = "max renewable life"
153 argument = "attributes"
154 help = "principal attributes"
157 long = "expiration-time"
160 help = "principal expiration time"
163 long = "pw-expiration-time"
166 help = "password expiration time"
169 long = "use-defaults"
171 help = "use default values"
173 argument = "principal..."
175 help = "Adds a principal to the database."
180 name = "change_password"
181 function = "cpw_entry"
186 help = "set random key"
189 long = "random-password"
191 help = "set random password"
197 help = "princial's password"
202 help = "DES key in hex"
204 argument = "principal..."
206 help = "Changes the password of one or more principals matching the expressions."
212 function = "del_entry"
213 argument = "principal..."
215 help = "Deletes all principals matching the expressions."
219 argument = "principal enctype..."
221 help = "Delete all the mentioned enctypes for principal."
229 help = "set random key"
231 argument = "principal enctype..."
233 help = "Add new enctypes for principal."
241 help = "keytab to use"
243 argument = "principal..."
245 help = "Extracts the keys of all principals matching the expressions, and stores them in a keytab."
250 function = "get_entry"
251 /* XXX sync options with "list" */
263 help = "short format"
269 help = "terse format"
275 help = "columns to print for short output"
277 argument = "principal..."
279 help = "Shows information about principals matching the expressions."
283 function = "rename_entry"
287 help = "Renames a principal."
291 function = "mod_entry"
293 long = "max-ticket-life"
296 help = "max ticket lifetime"
299 long = "max-renewable-life"
301 argument = "lifetime"
302 help = "max renewable life"
308 argument = "attributes"
309 help = "principal attributes"
312 long = "expiration-time"
315 help = "principal expiration time"
318 long = "pw-expiration-time"
321 help = "password expiration time"
326 help = "key version number"
330 long = "constrained-delegation"
332 argument = "principal"
333 help = "allowed target principals"
338 argument = "principal"
344 argument = "subject dn"
347 argument = "principal"
350 help = "Modifies some attributes of the specified principal."
355 function = "get_privs"
356 help = "Shows which operations you are allowed to perform."
360 function = "list_princs"
361 /* XXX sync options with "get" */
372 help = "short format"
378 help = "terse format"
385 help = "columns to print for short output"
387 argument = "principal..."
389 help = "Lists principals in a terse format. Equivalent to \"get -t\"."
392 name = "verify-password-quality"
394 function = "password_quality"
395 argument = "principal password"
398 help = "Try run the password quality function locally (not doing RPC out to server)."
406 help = "Check the realm (if not given, the default realm) for configuration errors."
411 argument = "[command]"
414 help = "Help! I need somebody."
419 function = "exit_kadmin"