Pass client name to kadm5_init.

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@4649 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Johan Danielsson
1998-03-21 23:55:51 +00:00
parent 8c91994194
commit 86ed877f98

View File

@@ -48,8 +48,11 @@ static int help_flag;
static int version_flag;
static char *realm;
static char *admin_server;
static char *client_name;
static struct getargs args[] = {
{ "principal", 'p', arg_string, &client_name,
"principal to authenticate as" },
{
"config-file", 'c', arg_string, &config_file,
"location of config file", "file"
@@ -243,8 +246,7 @@ main(int argc, char **argv)
cmd = commands;
} else {
ret = kadm5_c_init_with_password_ctx(context,
/* XXX these are not used */
"client",
client_name,
"password",
KADM5_ADMIN_SERVICE,
&conf, 0, 0,