shishi_kdcreq_sendrecv_hint(3)

πŸ’– shishi_kdcreq_sendrecv_hint(3) πŸ’–

okay bestie, gather round, because we're diving into the shishi manual and this one is a whole vibe. it's shishi_kdcreq_sendrecv_hint from the shishi library, and yes it's exactly as iconic as it sounds πŸŽ€


✨ NAME ✨

shishi_kdcreq_sendrecv_hint β€” an API function, babes. that's it, that's the name πŸ’…


πŸ¦‹ SYNOPSIS πŸ¦‹

#include <shishi.h>

int shishi_kdcreq_sendrecv_hint(Shishi * handle, Shishi_asn1 kdcreq,
Shishi_asn1 * kdcrep, Shishi_tkts_hint * hint);

🌸 ARGUMENTS 🌸

  • Shishi * handle β€” your Shishi library handle, the one you made with shishi_init(). it's giving main character energy, everything runs through it 🫢
  • Shishi_asn1 kdcreq β€” the input variable holding a prepared AS-REQ. you walk in with this already set up, no cap.
  • Shishi_asn1 * kdcrep β€” the output pointer variable where the decoded AS-REP lands. this is where the tea gets served β˜•
  • Shishi_tkts_hint * hint β€” an input Shishi_tkts_hint structure full of flags. the little settings bestie that shape the whole trip.

πŸ’œ DESCRIPTION πŸ’œ

so here's the lore: this function sends a request to the KDC and receives the response back. simple as that, fr fr. the request you pass in as kdcreq and the hints structure hint together decide what data actually gets transmitted β€” they're a duo, a package deal, collab of the century ✨

and then, on reception? the reply gets decoded as an AS-REP straight into kdcrep. that's the whole glow-up. lowkey beautiful.


πŸ”₯ RETURN VALUE πŸ”₯

the return code is gonna tell you how it went, and here's the full menu:

  • SHISHI_OK β€” slay, it worked, success πŸ’…
  • SHISHI_KDC_TIMEOUT β€” you hit a timeout. the KDC ghosted you, rip 😭
  • SHISHI_ASN1_ERROR β€” translation errors happened. something got lost in translation, tragic.
  • SHISHI_GOT_KRBERROR β€” for other corruptions. yeah, this one's the "what happened bestie" of return codes πŸ’€

πŸ› REPORTING BUGS πŸ›

found a bug? don't be shy, spill it. 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 Β© 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. periodt. that's the rules and they're honestly pretty generous πŸ’–


🌈 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, the command

info shishi

should give you access to the complete manual. go read it, it's the director's cut πŸ“


and that's the whole page bestie, you ate it up πŸ’– this was shishi version 1.0.3, page shishi_kdcreq_sendrecv_hint(3) β€” mwah, take care of her, she's iconic πŸ’…βœ¨πŸŽ€