1KRB524_CONVERT_CREDS_... BSD Library Functions Manual KRB524_CONVERT_CREDS_...
2

NAME

4     krb524_convert_creds_kdc, krb524_convert_creds_kdc_ccache — converts Ker‐
5     beros 5 credentials to Kerberos 4 credentials
6

LIBRARY

8     Kerberos 5 Library (libkrb5, -lkrb5)
9

SYNOPSIS

11     #include <krb5.h>
12
13     krb5_error_code
14     krb524_convert_creds_kdc(krb5_context context, krb5_creds *in_cred,
15         struct credentials *v4creds);
16
17     krb5_error_code
18     krb524_convert_creds_kdc_ccache(krb5_context context, krb5_ccache ccache,
19         krb5_creds *in_cred, struct credentials *v4creds);
20

DESCRIPTION

22     Convert the Kerberos 5 credential to Kerberos 4 credential.  This is done
23     by sending them to the 524 service in the KDC.
24
25     krb524_convert_creds_kdc() converts the Kerberos 5 credential in in_cred
26     to Kerberos 4 credential that is stored in credentials.
27
28     krb524_convert_creds_kdc_ccache() is different from
29     krb524_convert_creds_kdc() in that way that if in_cred doesn't contain a
30     DES session key, then a new one is fetched from the KDC and stored in the
31     cred cache ccache, and then the KDC is queried to convert the credential.
32
33     This interfaces are used to make the migration to Kerberos 5 from Ker‐
34     beros 4 easier.  There are few services that still need Kerberos 4, and
35     this is mainly for compatibility for those services.  Some services, like
36     AFS, really have Kerberos 5 supports, but still uses the 524 interface to
37     make the migration easier.
38

SEE ALSO

40     krb5(3), krb5.conf(5)
41
42HEIMDAL                         March 20, 2004                         HEIMDAL
Impressum