implement new commands: add_random_key(ark), change_password(cpw),
change_random_key(crk) git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@3637 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -63,22 +63,29 @@ static struct getargs args[] = {
|
|||||||
static int num_args = sizeof(args) / sizeof(args[0]);
|
static int num_args = sizeof(args) / sizeof(args[0]);
|
||||||
|
|
||||||
static SL_cmd commands[] = {
|
static SL_cmd commands[] = {
|
||||||
{ "add_new_key", add_new_key, "add_new_key principal", "" },
|
{ "add_new_key", add_new_key, "add_new_key principal"},
|
||||||
{ "ank", NULL, NULL, NULL },
|
{ "ank"},
|
||||||
{ "modify_entry", mod_entry, "modify_entry principal", "" },
|
{ "add_random_key", add_random_key, "add_random_key principal"},
|
||||||
{ "dump", dump, "dump [file]", "" },
|
{ "ark"},
|
||||||
{ "load", load, "load file", "" },
|
{ "cpw", passwd, "passwd principal"},
|
||||||
{ "merge", merge, "merge file", "" },
|
{ "change_password"},
|
||||||
{ "help", help, "help", "" },
|
{ "passwd"},
|
||||||
{ "?", NULL, NULL, NULL },
|
{ "change_random_key", change_random_key, "change_random_key principal"},
|
||||||
{ "init", init, "init realm...", "" },
|
{ "crk"},
|
||||||
{ "get_entry", get_entry, "get_entry principal","" },
|
{ "modify_entry", mod_entry, "modify_entry principal"},
|
||||||
{ "delete", del_entry, "delete principal", "" },
|
{ "dump", dump, "dump [file]"},
|
||||||
{ "ext_keytab", ext_keytab, "ext_keytab principal", "" },
|
{ "load", load, "load file"},
|
||||||
{ "exit", exit_kdb_edit, "exit", "" },
|
{ "merge", merge, "merge file"},
|
||||||
{ "database", set_db, "database [database]", "" },
|
{ "help", help, "help"},
|
||||||
|
{ "?"},
|
||||||
|
{ "init", init, "init realm..."},
|
||||||
|
{ "get_entry", get_entry, "get_entry principal"},
|
||||||
|
{ "delete", del_entry, "delete principal"},
|
||||||
|
{ "ext_keytab", ext_keytab, "ext_keytab principal"},
|
||||||
|
{ "exit", exit_kdb_edit, "exit"},
|
||||||
|
{ "database", set_db, "database [database]"},
|
||||||
{ "db" },
|
{ "db" },
|
||||||
{ NULL, NULL, NULL, NULL }
|
{ NULL}
|
||||||
};
|
};
|
||||||
|
|
||||||
krb5_context context;
|
krb5_context context;
|
||||||
|
Reference in New Issue
Block a user