logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

krb524_convert_creds_kdc, krb524_convert_creds_kdc_ccache — converts Kerberos 5 credentials to Kerberos 4

Description

       Convert the Kerberos 5 credential to Kerberos 4 credential.  This is done by  sending  them  to  the  524
       service in the KDC.

       krb524_convert_creds_kdc() converts the Kerberos 5 credential in in_cred to Kerberos 4 credential that is
       stored in credentials.

       krb524_convert_creds_kdc_ccache()  is  different  from  krb524_convert_creds_kdc()  in  that  way that if
       in_cred doesn't contain a DES session key, then a new one is fetched from the KDC and stored in the  cred
       cache ccache, and then the KDC is queried to convert the credential.

       This  interfaces  are  used  to  make  the migration to Kerberos 5 from Kerberos 4 easier.  There are few
       services that still need Kerberos 4, and this is mainly  for  compatibility  for  those  services.   Some
       services,  like  AFS,  really  have  Kerberos  5  supports,  but still uses the 524 interface to make the
       migration easier.

Library

       Kerberos 5 Library (libkrb5, -lkrb5)

Name

       krb524_convert_creds_kdc, krb524_convert_creds_kdc_ccache — converts Kerberos 5 credentials to Kerberos 4
       credentials

See Also

krb5(3), krb5.conf(5)

HEIMDAL                                          March 20, 2004                      KRB524_CONVERT_CREDS_KDC(3)

Synopsis

#include<krb5.h>krb5_error_codekrb524_convert_creds_kdc(krb5_contextcontext, krb5_creds*in_cred, structcredentials*v4creds);

       krb5_error_codekrb524_convert_creds_kdc_ccache(krb5_contextcontext,       krb5_ccacheccache,      krb5_creds*in_cred,
           structcredentials*v4creds);

See Also