(do_cpw_entry): call set_password if no argument is given, it will
prompt for the password. git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8180 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -139,12 +139,10 @@ do_cpw_entry(krb5_principal principal, void *data)
|
||||
return set_random_key (principal);
|
||||
else if (e->random_password)
|
||||
return set_random_password (principal);
|
||||
else if (e->password)
|
||||
return set_password (principal, e->password);
|
||||
else if (e->key_data)
|
||||
return set_key_data (principal, e->key_data);
|
||||
else
|
||||
abort ();
|
||||
return set_password (principal, e->password);
|
||||
}
|
||||
|
||||
int
|
||||
|
Reference in New Issue
Block a user