krb5_error_code krb5_524_convert_creds ( krb5_context context, krb5_creds *v5creds, CREDENTIALS *v4creds );
The context structure.
A pointer to the Kerberos V5 credentials to be converted.
A pointer to the Kerberos V4 credential structure to be filled in.
This routine takes a set of Kerberos V5 credentials, and converts them to V4 format.
This routine returns the following KRB5 status codes:
-1
Bad key.
KRB5_INVALID_PRINCIPAL
Invalid principal name.
KRB5_CONFIG_CANTOPEN
Can’t open/find Kerberos configuration file.
KRB5_REALM_UNKNOWN
KRB524_KRB5_DISABLED
Insufficient memory.