shishi_kdcreq_add_padata(3)
π shishi_kdcreq_add_padata(3) β the shishi manual, bestie edition
okay so you're reading the shishi manual page for shishi_kdcreq_add_padata(3) and honestly? you're about to add some pre-auth data to a KDC-REQ and I am so proud of you already π«Ά
β¨ NAME β¨
shishi_kdcreq_add_padata β it's an API function, bestie. that's the whole vibe.
πΈ SYNOPSIS πΈ
#include <shishi.h>
int shishi_kdcreq_add_padata(Shishi * handle, Shishi_asn1 kdcreq, int
padatatype, const char * data, size_t datalen);
look at her. five arguments. she's serving π
π ARGUMENTS π
Shishi * handleβ the shishi handle, and no you can't just make one up, it's allocated byshishi_init(). that's her origin story.Shishi_asn1 kdcreqβ the KDC-REQ you're adding PA-DATA to. this is the main character of the operation, fr fr.int padatatypeβ the type of PA-DATA. go checkShishi_padata_typefor the full menu, iykyk.const char * dataβ input array holding the PA-DATA value. the actual goods.size_t datalenβ size of that input array with the PA-DATA value. yes you have to say how big it is, she's not a mind reader π
π DESCRIPTION π
so the whole point: you're adding new pre authentication data (PA-DATA) to a KDC-REQ. this is the move where you pass various info over to the KDC π¦
like, for example β if padatatype is a SHISHI_PA_TGS_REQ, then the PA-DATA is the AP-REQ that authenticates the user so they can get the ticket. iconic behaviour, honestly.
but bestie, also peep shishi_kdcreq_add_padata_tgs() β that one takes an AP-REQ directly, so if that's what you need, go there instead π
β RETURN VALUE β
returns SHISHI_OK iff successful. that's it. that's the whole reward. if it's not SHISHI_OK, something's up and it's not slaying π
π REPORTING BUGS π
found a bug? don't suffer in silence, tell the people:
- report bugs to
<bug-shishi@gnu.org> - GNU Shishi home page:
http://www.gnu.org/software/shishi/ - general help using GNU software:
http://www.gnu.org/gethelp/
π COPYRIGHT π
Copyright Β© 2002-2022 Simon Josefsson.
copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright notice and this notice are preserved. so like, keep the receipts, periodt π
π SEE ALSO π
the full documentation for shishi is maintained as a Texinfo manual. if the info and shishi programs are properly installed at your site, this command:
info shishi
should give you access to the complete manual. go read it, it's giving scholarly π§
and that's the page!! this was shishi version 1.0.3, manual page shishi_kdcreq_add_padata(3) β thanks for reading the whole thing, bestie, you ate π
β¨π
π¦ where this page comes from
- debian bookworm: shishi-doc 1.0.3-1 Β· GPL-3.0-or-later
- debian trixie: shishi-doc 1.0.3-5 Β· GPL-3.0-or-later
- nixos 26.05: shishi 1.0.3
- nixpkgs unstable: shishi 1.0.3
- ubuntu noble: shishi-doc 1.0.3-2.1build2 Β· GPL-3.0-or-later
- ubuntu questing: shishi-doc 1.0.3-5
- ubuntu resolute: shishi-doc 1.0.3-5build1 Β· GPL-3.0-or-later
- ubuntu stonking: shishi-doc 1.0.3-7 Β· GPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms