krb5_error_code krb5_fwd_tgt_creds ( krb5_context context, krb5_auth_context auth_context, char *rhost, krb5_principal client, krb5_principal server, krb5_ccache cc, int forwardable, krb5_data *outbuf );
The context structure.
A per-connection context.
The remote host.
The client principal.
The server principal.
The credentials cache name.
A Boolean indicating whether the TGT should be forwardable.
The output buffer containing the TGT.
This routine acquires a TGT for use at a remote host system.
This routine returns the following KRB5 status codes:
Successful completion.
KRB5_PRINC_NOMATCH
Requested principal and ticket don’t match.
KRB5_NO_TKT_SUPPLIED
Request did not supply a ticket.
KRB5_CC_BADNAME
Credential cache name or principal name malformed.