keyhole logo

Functions
Heimdal Kerberos 4 compatiblity functions

Functions

KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL krb524_convert_creds_kdc (krb5_context context, krb5_creds *in_cred, struct credentials *v4creds) KRB5_DEPRECATED_FUNCTION("Use X instead")
 
KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL krb524_convert_creds_kdc_ccache (krb5_context context, krb5_ccache ccache, krb5_creds *in_cred, struct credentials *v4creds) KRB5_DEPRECATED_FUNCTION("Use X instead")
 

Detailed Description

Function Documentation

◆ krb524_convert_creds_kdc()

KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL krb524_convert_creds_kdc ( krb5_context  context,
krb5_creds *  in_cred,
struct credentials *  v4creds 
)

Convert the v5 credentials in in_cred to v4-dito in v4creds. This is done by sending them to the 524 function in the KDC. If ‘in_cred’ doesn't contain a DES session key, then a new one is gotten from the KDC and stored in the cred cache ‘ccache’.

Parameters
contextKerberos 5 context.
in_credthe credential to convert
v4credsthe converted credential
Returns
Returns 0 to indicate success. Otherwise an kerberos et error code is returned, see krb5_get_error_message().

◆ krb524_convert_creds_kdc_ccache()

KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL krb524_convert_creds_kdc_ccache ( krb5_context  context,
krb5_ccache  ccache,
krb5_creds *  in_cred,
struct credentials *  v4creds 
)

Convert the v5 credentials in in_cred to v4-dito in v4creds, check the credential cache ccache before checking with the KDC.

Parameters
contextKerberos 5 context.
ccachecredential cache used to check for des-ticket.
in_credthe credential to convert
v4credsthe converted credential
Returns
Returns 0 to indicate success. Otherwise an kerberos et error code is returned, see krb5_get_error_message().

Generated on Tue Nov 15 2022 14:04:26 for Heimdal Kerberos 5 library by doxygen 1.9.1