krb5_v4compat(3)
β¨ krb5_v4compat β¨
okay bestie, so this is a page from the Heimdal Kerberos 5 library manual β krb5_v4compat(3), the v4 compatibility girlies π. It's short, it's deprecated, and it's here to shuttle your Kerberos 5 creds into old-school Kerberos 4 land. Let's get into it π«Ά
πΈ NAME πΈ
krb5_v4compat β Heimdal Kerberos 4 compatiblity functions
(yes, "compatiblity", that's literally what it says, we don't edit the source bestie π)
β¨ SYNOPSIS β¨
π 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')
both of these are marked KRB5_DEPRECATED_FUNCTION('Use X instead') β that's the library itself telling you to move on. the way that it literally has a placeholder where the replacement should be π still, they're documented here, so here we are π
π¦ Detailed Description π¦
soβ¦ there is none. that's it. that's the section. nothing under it. a moment of silence π
π Function Documentation π
β 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
contextβ Kerberos 5 context.in_credβ the credential to convertv4credsβ the converted credential
π«§ Returns
Returns 0 to indicate success. Otherwise an kerberos et error code is returned, see krb5_get_error_message().
(no, "an kerberos et error code" is not me being unserious, that's the actual text, i would never π)
β 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.
like the other one but it peeks at your cache first before bothering the KDC, lowkey considerate π
π«§ Parameters
contextβ Kerberos 5 context.ccacheβ credential cache used to check for des-ticket.in_credβ the credential to convertv4credsβ the converted credential
π«§ Returns
Returns 0 to indicate success. Otherwise an kerberos et error code is returned, see krb5_get_error_message().
π Author π
Generated automatically by Doxygen for Heimdal Kerberos 5 library from the source code.
okay that's the whole page, no cap β¨ it's Version 7.8.0, dated Tue Nov 15 2022, straight from the Heimdal Kerberos 5 library manual β 524 conversion stays serving in the v4-compat corner of the repo, deprecated but iconic π go call krb5_get_error_message() if things go sideways, bestie, mwah ππ
π¦ where this page comes from
- alpine 3.22: heimdal-doc 7.8.0-r4 Β· BSD-3-Clause
- alpine 3.23: heimdal-doc 7.8.0-r5 Β· BSD-3-Clause
- alpine 3.24: heimdal-doc 7.8.0-r5 Β· BSD-3-Clause
- epel 10: heimdal-devel 7.8.0-26.el10_2 Β· BSD-2-Clause AND BSD-3-Clause AND HPND-export-US AND HPND-export2-US AND LicenseRef-Fedora-Public-Domain
- epel 9: heimdal-devel 7.8.0-5.el9 Β· BSD and MIT
- fedora 43: heimdal-devel 7.8.0-26.fc43 Β· BSD-2-Clause AND BSD-3-Clause AND HPND-export-US AND HPND-export2-US AND LicenseRef-Fedora-Public-Domain
- fedora 43: heimdal-devel 7.8.0-26.fc43 Β· BSD-2-Clause AND BSD-3-Clause AND HPND-export-US AND HPND-export2-US AND LicenseRef-Fedora-Public-Domain
- fedora 44: heimdal-devel 7.8.0-26.fc43 Β· BSD-2-Clause AND BSD-3-Clause AND HPND-export-US AND HPND-export2-US AND LicenseRef-Fedora-Public-Domain
- fedora 44: heimdal-devel 7.8.0-26.fc43 Β· BSD-2-Clause AND BSD-3-Clause AND HPND-export-US AND HPND-export2-US AND LicenseRef-Fedora-Public-Domain
- fedora 44: heimdal-devel 7.8.0-28.fc44 Β· BSD-2-Clause AND BSD-3-Clause AND HPND-export-US AND HPND-export2-US AND LicenseRef-Fedora-Public-Domain
- fedora 44: heimdal-devel 7.8.0-28.fc44 Β· BSD-2-Clause AND BSD-3-Clause AND HPND-export-US AND HPND-export2-US AND LicenseRef-Fedora-Public-Domain
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms