KRB5_FIND_PADATA(3)
π KRB5_FIND_PADATA(3) π
okay bestie, welcome to the Library Functions Manual for KRB5_FIND_PADATA β yes it's a mouthful, no we're not scared of it π«Ά
β¨ NAME β¨
krb5_find_padata, krb5_padata_add β the Kerberos 5 pre-authentication data handling functions π
like, this is where the pre-auth data gets found and where it gets added. that's the whole job. iconic behaviour fr fr.
πΈ LIBRARY πΈ
Kerberos 5 Library (libkrb5, -lkrb5) β link it and she's yours, no cap π
π¦ SYNOPSIS π¦
#include <krb5.h>
PA_DATA *
krb5_find_padata(PA_DATA *val, unsigned len, int type, int *index);
int
krb5_padata_add(krb5_context context, METHOD_DATA *md, int type,
void *buf, size_t len);
like look at her. two whole functions. main character energy, honestly π
π DESCRIPTION π
π krb5_find_padata()
so this one tries to find the pre-authentication data entry of type type inside the array val of length len β like a little scavenger hunt through the array, but for the exact type you asked for π§
here's the cute part: the search starts at the entry pointed out by *index β and heads up, that's zero based indexing, so no, 0 is not a mistake, that's just how she counts π
and if the type isn't found? you get NULL back. nothing. nada. she looked, she didn't see it, that's the whole story π
β krb5_padata_add()
this one's the opposite vibe β instead of searching, she adds a pre-authentication data entry of type type pointed out by buf and len, and drops it right into md β¨
that's it. that's the function. obsessed π
π SEE ALSO π
and that's the page bestie, go forth and find your padata πβ¨
written under the HEIMDAL era, dated March 21, 2004 β yeah she's vintage, she's a classic, we stan an old queen ππ
π¦ 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
- debian bookworm: heimdal-dev 7.8.git20221117.28daf24+dfsg-2 Β· BSD-3-Clause
- debian trixie: heimdal-dev 7.8.git20221117.28daf24+dfsg-9+deb13u1 Β· 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
- freebsd 14.5: base 14.5
- nixpkgs unstable: heimdal 7.8.0-unstable-2024-09-10
- ubuntu jammy: heimdal-dev 7.7.0+dfsg-3ubuntu1 Β· BSD-3-Clause
- ubuntu noble: heimdal-dev 7.8.git20221117.28daf24+dfsg-5ubuntu3 Β· BSD-3-Clause
- ubuntu questing: heimdal-dev 7.8.git20221117.28daf24+dfsg-9ubuntu1
- ubuntu resolute: heimdal-dev 7.8.git20221117.28daf24+dfsg-11ubuntu1 Β· BSD-3-Clause
- ubuntu stonking: heimdal-dev 7.8.git20240113.1b4565a+dfsg-2ubuntu1 Β· BSD-3-Clause
- Copyright (c) 2004 Kungliga Tekniska HΓΆgskolan
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms