krb5_pac(3)
β¨ krb5_pac β Heimdal Kerberos 5 PAC handling functions β¨
okay bestie, welcome to krb5_pac(3), the manual page for the Heimdal Kerberos 5 library and its whole PAC-handling situation π if you've ever been like "what even IS a PAC and why is it being parsed at me" β this is your page, sit down, hydrate π
πΈ NAME πΈ
krb5_pac β Heimdal Kerberos 5 PAC handling functions
like, the entire PAC-handling department. that's the vibe π
β¨ SYNOPSIS β¨
π¦ Functions π¦
KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL krb5_pac_get_buffer
(krb5_context context, krb5_pac p, uint32_t type, krb5_data *data)
KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL krb5_pac_verify
(krb5_context context, const krb5_pac pac, time_t authtime,
krb5_const_principal principal, const krb5_keyblock *server, const
krb5_keyblock *privsvr)
that's two functions. two. that's the whole cast π
π Detailed Description π
there's no big long description here bestie, the page just rolls straight into the function docs. no filler, we love a lowkey minimalist icon π
π₯ Function Documentation π₯
π KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL krb5_pac_get_buffer (krb5_context context, krb5_pac p, uint32_t type, krb5_data * data)
Get the PAC buffer of specific type from the pac. like, you hand it a type, it hands you back the matching buffer. main character exchange fr π«Ά
Parameters
contextβ Kerberos 5 context.pβ the pac structure returned bykrb5_pac_parse().typeβ type of buffer to getdataβ return data, free withkrb5_data_free().
π¨ bestie, listen: thatdatayou get back? you FREE it withkrb5_data_free(). don't be out here leaking, that's not the vibe π
Returns
Returns 0 to indicate success. Otherwise an kerberos et error code is returned, see krb5_get_error_message().
π KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL krb5_pac_verify (krb5_context context, const krb5_pac pac, time_t authtime, krb5_const_principal principal, const krb5_keyblock * server, const krb5_keyblock * privsvr)
Verify the PAC. that's it. that's the whole description. short, confident, ate β¨
Parameters
contextβ Kerberos 5 context.pacβ the pac structure returned bykrb5_pac_parse().authtimeβ The time of the ticket the PAC belongs to.principalβ the principal to verify.serverβ The service key, most always be given.privsvrβ The KDC key, may be given.
π real talk:serverβ the service key β most always be given. so like, give it. andprivsvr(the KDC key) may be given, so that one's optional-ish, your call, iykyk.
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.
(so nobody's taking credit personally, it's the Doxygen machine's moment, and honestly? it's giving autogenerated but make it fashion π)
Version 7.8.0 Β· Tue Nov 15 2022 β that's the version and the date bestie, and that's a wrap on krb5_pac(3) π¦ go free your krb5_data, verify your PACs, and slay ππ
β¨
π¦ 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