krb5_error_code krb5_change_password ( krb5_context context, krb5_creds *creds, char *newpw, int *result_code, krb5_data *result_code_string, krb5_data *result_string );
The context structure.
The Kerberos credentials.
The new password.
A numeric error code.
The string equivalent of the result_code.
The change password response from the KDC.
This routine changes the password for an existing Kerberos account.
This routine returns one of the following KRB5 status codes:
0
Successful completion.
Message stream modified.
Insufficient memory.
ETIMEDOUT