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_cpw, "Change password", 42 change_password, cpw; 43 44request kadmin_getprinc, "Get principal", 45 get_principal, getprinc; 46 47request kadmin_getprincs, "List principals", 48 list_principals, listprincs, get_principals, getprincs; 49 50request kadmin_addpol, "Add policy", 51 add_policy, addpol; 52 53request kadmin_modpol, "Modify policy", 54 modify_policy, modpol; 55 56request kadmin_delpol, "Delete policy", 57 delete_policy, delpol; 58 59request kadmin_getpol, "Get policy", 60 get_policy, getpol; 61 62request kadmin_getpols, "List policies", 63 list_policies, listpols, get_policies, getpols; 64 65request kadmin_getprivs, "Get privileges", 66 get_privs, getprivs; 67 68request kadmin_keytab_add, "Add entry(s) to a keytab", 69 ktadd, xst; 70 71request kadmin_keytab_remove, "Remove entry(s) from a keytab", 72 ktremove, ktrem; 73 74request kadmin_lock, "Lock database exclusively (use with extreme caution!)", 75 lock; 76 77request kadmin_unlock, "Release exclusive database lock", 78 unlock; 79 80request kadmin_purgekeys, "Purge previously retained old keys from a principal", 81 purgekeys; 82 83request kadmin_getstrings, "Show string attributes on a principal", 84 get_strings, getstrs; 85 86request kadmin_setstring, "Set a string attribute on a principal", 87 set_string, setstr; 88 89request kadmin_delstring, "Delete a string attribute on a principal", 90 del_string, delstr; 91 92# list_requests is generic -- unrelated to Kerberos 93request ss_list_requests, "List available requests.", 94 list_requests, lr, "?"; 95 96request ss_quit, "Exit program.", 97 quit, exit, q; 98 99end; 100 101