#include <krb5.h> 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);Service Program Name: QSYS/QKRBGSS
The krb5_change_password() function changes the password for the principal identified by the supplied credentials. The password change server will apply any applicable password policy checks before changing the password. The password change will be rejected if the policy checks are not successful.
None.
KRB5_KPASSWD_SUCCESS (0) | password changed |
KRB5_KPASSWD_MALFORMED (1) | request packet incorrect |
KRB5_KPASSWD_HARDERROR (2) | password server error |
KRB5_KPASSWD_AUTHERROR (3) | authentication error |
KRB5_KPASSWD_SOFTERROR (4) | password changed rejected |
If no errors occur, the return value is 0. Otherwise, a Kerberos error code is returned. The password will not have been changed unless both the function return value and the result code are zero.
Message ID | Error Message Text |
---|---|
CPE3418 E | Possible APAR condition or hardware failure. |
[ Back to top | Security APIs | UNIX-Type APIs | APIs by category ]