Add --keepold option to cpw.

This commit is contained in:
Nicolas Williams
2011-07-18 15:46:04 -05:00
parent acc8cd4b22
commit e16360e2db
8 changed files with 48 additions and 18 deletions

View File

@@ -401,7 +401,7 @@ change (krb5_auth_context auth_context,
tmp = pwd_data->data;
tmp[pwd_data->length - 1] = '\0';
ret = kadm5_s_chpass_principal_cond (kadm5_handle, principal, tmp);
ret = kadm5_s_chpass_principal_cond (kadm5_handle, principal, 1, tmp);
krb5_free_data (context, pwd_data);
pwd_data = NULL;
if (ret) {