1
.TH "Heimdal Kerberos 4 compatiblity functions" 3 "30 Jul 2011" "Version 1.5" "HeimdalKerberos5library" \" -*- nroff -*-
5
Heimdal Kerberos 4 compatiblity functions \-
10
.RI "KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL \fBkrb524_convert_creds_kdc\fP (krb5_context context, krb5_creds *in_cred, struct credentials *v4creds) KRB5_DEPRECATED_FUNCTION('Use X instead')"
13
.RI "KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL \fBkrb524_convert_creds_kdc_ccache\fP (krb5_context context, krb5_ccache ccache, krb5_creds *in_cred, struct credentials *v4creds) KRB5_DEPRECATED_FUNCTION('Use X instead')"
16
.SH "Detailed Description"
19
.SH "Function Documentation"
21
.SS "KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL krb524_convert_creds_kdc (krb5_context context, krb5_creds * in_cred, struct credentials * v4creds)"
23
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'.
27
\fIcontext\fP Kerberos 5 context.
29
\fIin_cred\fP the credential to convert
31
\fIv4creds\fP the converted credential
36
Returns 0 to indicate success. Otherwise an kerberos et error code is returned, see krb5_get_error_message().
40
.SS "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)"
42
Convert the v5 credentials in in_cred to v4-dito in v4creds, check the credential cache ccache before checking with the KDC.
46
\fIcontext\fP Kerberos 5 context.
48
\fIccache\fP credential cache used to check for des-ticket.
50
\fIin_cred\fP the credential to convert
52
\fIv4creds\fP the converted credential
57
Returns 0 to indicate success. Otherwise an kerberos et error code is returned, see krb5_get_error_message().