switch to krb5_set_password().
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23275 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -441,12 +441,13 @@ change_password (krb5_context context,
|
||||
memset (buf2, 0, sizeof(buf2));
|
||||
}
|
||||
|
||||
ret = krb5_change_password (context,
|
||||
&cpw_cred,
|
||||
buf1,
|
||||
&result_code,
|
||||
&result_code_string,
|
||||
&result_string);
|
||||
ret = krb5_set_password (context,
|
||||
&cpw_cred,
|
||||
buf1,
|
||||
client,
|
||||
&result_code,
|
||||
&result_code_string,
|
||||
&result_string);
|
||||
if (ret)
|
||||
goto out;
|
||||
asprintf (&p, "%s: %.*s\n",
|
||||
|
Reference in New Issue
Block a user