1 # Copyright 1994 by the Massachusetts Institute of Technology.
4 # Export of this software from the United States of America may
5 # require a specific license from the United States Government.
6 # It is the responsibility of any person or organization contemplating
7 # export to obtain such a license before exporting.
9 # WITHIN THAT CONSTRAINT, permission to use, copy, modify, and
10 # distribute this software and its documentation for any purpose and
11 # without fee is hereby granted, provided that the above copyright
12 # notice appear in all copies and that both that copyright notice and
13 # this permission notice appear in supporting documentation, and that
14 # the name of M.I.T. not be used in advertising or publicity pertaining
15 # to distribution of the software without specific, written prior
16 # permission. Furthermore if you modify this software you must label
17 # your software as modified software and not distribute it in such a
18 # fashion that it might be confused with the original M.I.T. software.
19 # M.I.T. makes no representations about the suitability of
20 # this software for any purpose. It is provided "as is" without express
21 # or implied warranty.
24 # Command table for kadmin CLI for OVSecure
27 command_table kadmin_cmds;
29 request kadmin_addprinc, "Add principal",
30 add_principal, addprinc, ank;
32 request kadmin_delprinc, "Delete principal",
33 delete_principal, delprinc;
35 request kadmin_modprinc, "Modify principal",
36 modify_principal, modprinc;
38 request kadmin_cpw, "Change password",
41 request kadmin_getprinc, "Get principal",
42 get_principal, getprinc;
44 request kadmin_getprincs, "List principals",
45 list_principals, listprincs, get_principals, getprincs;
47 request kadmin_addpol, "Add policy",
50 request kadmin_modpol, "Modify policy",
51 modify_policy, modpol;
53 request kadmin_delpol, "Delete policy",
54 delete_policy, delpol;
56 request kadmin_getpol, "Get policy",
59 request kadmin_getpols, "List policies",
60 list_policies, listpols, get_policies, getpols;
62 request kadmin_getprivs, "Get privileges",
65 request kadmin_keytab_add, "Add entry(s) to a keytab",
68 request kadmin_keytab_remove, "Remove entry(s) from a keytab",
71 request kadmin_lock, "Lock database exclusively (use with extreme caution!)",
74 request kadmin_unlock, "Release exclusive database lock",
77 request kadmin_purgekeys, "Purge previously retained old keys from a principal",
80 # list_requests is generic -- unrelated to Kerberos
81 request ss_list_requests, "List available requests.",
82 list_requests, lr, "?";
84 request ss_quit, "Exit program.",