shishi_krberror_methoddata(3)
π shishi_krberror_methoddata β the manual page bestie π
okay so real quick, this is shishi_krberror_methoddata(3) from the shishi manual, and she's an API function. buckle up, we're getting a METHOD-DATA out of an e-data field and honestly? iconic. π
β¨ NAME β¨
shishi_krberror_methoddata β API function
like literally. that's the name. that's the whole job description. π
β¨ SYNOPSIS β¨
#include <shishi.h>
int shishi_krberror_methoddata(Shishi * handle, Shishi_asn1 krberror,
Shishi_asn1 * methoddata);
that's the vibe. that's the whole thing. slay. π
β¨ ARGUMENTS β¨
Shishi * handleβ the shishi handle, and bestie you gotta get this one fromshishi_init(). no handle, no service, periodt.Shishi_asn1 krberrorβ a KRB-ERROR structure that's carrying an error code. that's the whole point of her, she's got the error code in there.Shishi_asn1 * methoddataβ output param, the place where the ASN.1METHOD-DATAgoes. she's a pointer so she can write back to you. π«Ά
β¨ DESCRIPTION β¨
so what does this do fr fr? it extracts the METHOD-DATA ASN.1 object out of the e-data field. that's it, that's the mission.
but here's the catch, and this one matters, so listen up π₯: the e-data field will only contain a METHOD-DATA if the krberror error code is SHISHI_KDC_ERR_PREAUTH_REQUIRED. any other error code and there's just... nothing there for you. the vibe check fails. π
β¨ RETURN VALUE β¨
returns SHISHI_OK iff successful. that's the good ending, that's the one you want. π
β¨ REPORTING BUGS β¨
found a bug? don't just scream into the group chat, actually report it:
- bugs go 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/
they want to hear from you, ngl. π
β¨ 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.
(translation: go off, copy it, remix it, just keep the receipt. receipts are important. π§Ύβ¨)
β¨ 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, then this command
info shishi
should give you access to the complete manual. iykyk. π
okay that's the whole page, you're officially a shishi girlie now. this was shishi 1.0.3, page shishi_krberror_methoddata(3) β mwah, go forth and extract that METHOD-DATA bestie ππ¦πΈ
π¦ 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