[an error occurred while processing this directive]
krb5_error_code krb5_get_init_creds_password ( krb5_context context, krb5_creds *creds, krb5_principal client, char *password, krb5_prompter_fct prompter, void *data, krb5_deltat start_time, char *in_tkt_service, krb5_get_init_creds_opt *options );
The context structure.
A pointer to a Kerberos credentials structure.
The client principal.
The password associated with the initial credentials.
A pointer to a password prompt routine.
The data for the password prompt routine.
The time that the credentials first become valid.
A pointer to the output buffer containing the TGT.
A pointer to a structure containing flags and options.
This routine acquires the password associated with the initial credentials.
This routine returns the following KRB5 status codes:
EINVAL
Invalid argument.
KRB5_KDC_UNREACH
Cannot contact any KDC for requested realm.
KRB5_PREAUTH_FAILED
Generic preauthentication failure.
KRB5_LIBOS_PWDINTR
KRB5_REALM_CANT_RESOLVE
KRB5KDC_ERR_KEY_EXP
Password has expired.
KRB5_LIBOS_BADPWDMATCH
KRB5_CHPW_PWDNULL
ew password cannot be zero length.
KRB5_CHPW_FAIL
Password change failed.