xref: /freebsd/crypto/krb5/src/kadmin/cli/kadmin_ct.ct (revision f1c4c3daccbaf3820f0e2224de53df12fc952fcc)
1# Copyright 1994 by the Massachusetts Institute of Technology.
2# All Rights Reserved.
3#
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.
8#
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.
22#
23#
24# Command table for kadmin CLI for OVSecure
25#
26
27command_table kadmin_cmds;
28
29request kadmin_addprinc, "Add principal",
30	add_principal, addprinc, ank;
31
32request kadmin_delprinc, "Delete principal",
33	delete_principal, delprinc;
34
35request kadmin_modprinc, "Modify principal",
36	modify_principal, modprinc;
37
38request kadmin_renameprinc, "Rename principal",
39	rename_principal, renprinc;
40
41request kadmin_addalias, "Add alias",
42	add_alias, alias;
43
44request kadmin_cpw, "Change password",
45	change_password, cpw;
46
47request kadmin_getprinc, "Get principal",
48	get_principal, getprinc;
49
50request kadmin_getprincs, "List principals",
51	list_principals, listprincs, get_principals, getprincs;
52
53request kadmin_addpol, "Add policy",
54	add_policy, addpol;
55
56request kadmin_modpol, "Modify policy",
57	modify_policy, modpol;
58
59request kadmin_delpol, "Delete policy",
60	delete_policy, delpol;
61
62request kadmin_getpol, "Get policy",
63	get_policy, getpol;
64
65request kadmin_getpols, "List policies",
66	list_policies, listpols, get_policies, getpols;
67
68request kadmin_getprivs, "Get privileges",
69	get_privs, getprivs;
70
71request kadmin_keytab_add, "Add entry(s) to a keytab",
72	ktadd, xst;
73
74request kadmin_keytab_remove, "Remove entry(s) from a keytab",
75	ktremove, ktrem;
76
77request kadmin_lock, "Lock database exclusively (use with extreme caution!)",
78	lock;
79
80request kadmin_unlock, "Release exclusive database lock",
81	unlock;
82
83request kadmin_purgekeys, "Purge previously retained old keys from a principal",
84	purgekeys;
85
86request kadmin_getstrings, "Show string attributes on a principal",
87	get_strings, getstrs;
88
89request kadmin_setstring, "Set a string attribute on a principal",
90	set_string, setstr;
91
92request kadmin_delstring, "Delete a string attribute on a principal",
93	del_string, delstr;
94
95# list_requests is generic -- unrelated to Kerberos
96request	ss_list_requests, "List available requests.",
97	list_requests, lr, "?";
98
99request	ss_quit, "Exit program.",
100	quit, exit, q;
101
102end;
103
104