xref: /freebsd/crypto/krb5/src/kadmin/cli/kadmin_ct.ct (revision 7f2fe78b9dd5f51c821d771b63d2e096f6fd49e9)
1*7f2fe78bSCy Schubert# Copyright 1994 by the Massachusetts Institute of Technology.
2*7f2fe78bSCy Schubert# All Rights Reserved.
3*7f2fe78bSCy Schubert#
4*7f2fe78bSCy Schubert# Export of this software from the United States of America may
5*7f2fe78bSCy Schubert#   require a specific license from the United States Government.
6*7f2fe78bSCy Schubert#   It is the responsibility of any person or organization contemplating
7*7f2fe78bSCy Schubert#   export to obtain such a license before exporting.
8*7f2fe78bSCy Schubert#
9*7f2fe78bSCy Schubert# WITHIN THAT CONSTRAINT, permission to use, copy, modify, and
10*7f2fe78bSCy Schubert# distribute this software and its documentation for any purpose and
11*7f2fe78bSCy Schubert# without fee is hereby granted, provided that the above copyright
12*7f2fe78bSCy Schubert# notice appear in all copies and that both that copyright notice and
13*7f2fe78bSCy Schubert# this permission notice appear in supporting documentation, and that
14*7f2fe78bSCy Schubert# the name of M.I.T. not be used in advertising or publicity pertaining
15*7f2fe78bSCy Schubert# to distribution of the software without specific, written prior
16*7f2fe78bSCy Schubert# permission.  Furthermore if you modify this software you must label
17*7f2fe78bSCy Schubert# your software as modified software and not distribute it in such a
18*7f2fe78bSCy Schubert# fashion that it might be confused with the original M.I.T. software.
19*7f2fe78bSCy Schubert# M.I.T. makes no representations about the suitability of
20*7f2fe78bSCy Schubert# this software for any purpose.  It is provided "as is" without express
21*7f2fe78bSCy Schubert# or implied warranty.
22*7f2fe78bSCy Schubert#
23*7f2fe78bSCy Schubert#
24*7f2fe78bSCy Schubert# Command table for kadmin CLI for OVSecure
25*7f2fe78bSCy Schubert#
26*7f2fe78bSCy Schubert
27*7f2fe78bSCy Schubertcommand_table kadmin_cmds;
28*7f2fe78bSCy Schubert
29*7f2fe78bSCy Schubertrequest kadmin_addprinc, "Add principal",
30*7f2fe78bSCy Schubert	add_principal, addprinc, ank;
31*7f2fe78bSCy Schubert
32*7f2fe78bSCy Schubertrequest kadmin_delprinc, "Delete principal",
33*7f2fe78bSCy Schubert	delete_principal, delprinc;
34*7f2fe78bSCy Schubert
35*7f2fe78bSCy Schubertrequest kadmin_modprinc, "Modify principal",
36*7f2fe78bSCy Schubert	modify_principal, modprinc;
37*7f2fe78bSCy Schubert
38*7f2fe78bSCy Schubertrequest kadmin_renameprinc, "Rename principal",
39*7f2fe78bSCy Schubert	rename_principal, renprinc;
40*7f2fe78bSCy Schubert
41*7f2fe78bSCy Schubertrequest kadmin_cpw, "Change password",
42*7f2fe78bSCy Schubert	change_password, cpw;
43*7f2fe78bSCy Schubert
44*7f2fe78bSCy Schubertrequest kadmin_getprinc, "Get principal",
45*7f2fe78bSCy Schubert	get_principal, getprinc;
46*7f2fe78bSCy Schubert
47*7f2fe78bSCy Schubertrequest kadmin_getprincs, "List principals",
48*7f2fe78bSCy Schubert	list_principals, listprincs, get_principals, getprincs;
49*7f2fe78bSCy Schubert
50*7f2fe78bSCy Schubertrequest kadmin_addpol, "Add policy",
51*7f2fe78bSCy Schubert	add_policy, addpol;
52*7f2fe78bSCy Schubert
53*7f2fe78bSCy Schubertrequest kadmin_modpol, "Modify policy",
54*7f2fe78bSCy Schubert	modify_policy, modpol;
55*7f2fe78bSCy Schubert
56*7f2fe78bSCy Schubertrequest kadmin_delpol, "Delete policy",
57*7f2fe78bSCy Schubert	delete_policy, delpol;
58*7f2fe78bSCy Schubert
59*7f2fe78bSCy Schubertrequest kadmin_getpol, "Get policy",
60*7f2fe78bSCy Schubert	get_policy, getpol;
61*7f2fe78bSCy Schubert
62*7f2fe78bSCy Schubertrequest kadmin_getpols, "List policies",
63*7f2fe78bSCy Schubert	list_policies, listpols, get_policies, getpols;
64*7f2fe78bSCy Schubert
65*7f2fe78bSCy Schubertrequest kadmin_getprivs, "Get privileges",
66*7f2fe78bSCy Schubert	get_privs, getprivs;
67*7f2fe78bSCy Schubert
68*7f2fe78bSCy Schubertrequest kadmin_keytab_add, "Add entry(s) to a keytab",
69*7f2fe78bSCy Schubert	ktadd, xst;
70*7f2fe78bSCy Schubert
71*7f2fe78bSCy Schubertrequest kadmin_keytab_remove, "Remove entry(s) from a keytab",
72*7f2fe78bSCy Schubert	ktremove, ktrem;
73*7f2fe78bSCy Schubert
74*7f2fe78bSCy Schubertrequest kadmin_lock, "Lock database exclusively (use with extreme caution!)",
75*7f2fe78bSCy Schubert	lock;
76*7f2fe78bSCy Schubert
77*7f2fe78bSCy Schubertrequest kadmin_unlock, "Release exclusive database lock",
78*7f2fe78bSCy Schubert	unlock;
79*7f2fe78bSCy Schubert
80*7f2fe78bSCy Schubertrequest kadmin_purgekeys, "Purge previously retained old keys from a principal",
81*7f2fe78bSCy Schubert	purgekeys;
82*7f2fe78bSCy Schubert
83*7f2fe78bSCy Schubertrequest kadmin_getstrings, "Show string attributes on a principal",
84*7f2fe78bSCy Schubert	get_strings, getstrs;
85*7f2fe78bSCy Schubert
86*7f2fe78bSCy Schubertrequest kadmin_setstring, "Set a string attribute on a principal",
87*7f2fe78bSCy Schubert	set_string, setstr;
88*7f2fe78bSCy Schubert
89*7f2fe78bSCy Schubertrequest kadmin_delstring, "Delete a string attribute on a principal",
90*7f2fe78bSCy Schubert	del_string, delstr;
91*7f2fe78bSCy Schubert
92*7f2fe78bSCy Schubert# list_requests is generic -- unrelated to Kerberos
93*7f2fe78bSCy Schubertrequest	ss_list_requests, "List available requests.",
94*7f2fe78bSCy Schubert	list_requests, lr, "?";
95*7f2fe78bSCy Schubert
96*7f2fe78bSCy Schubertrequest	ss_quit, "Exit program.",
97*7f2fe78bSCy Schubert	quit, exit, q;
98*7f2fe78bSCy Schubert
99*7f2fe78bSCy Schubertend;
100*7f2fe78bSCy Schubert
101