shishi_kdcreq_sendrecv(3)

πŸ’– shishi_kdcreq_sendrecv(3) β€” the shishi manual, bestie edition πŸ’–

okay so. this is a page from the shishi manual, section 3 (library calls, for the uninitiated ✨). and it's about shishi_kdcreq_sendrecv β€” the little function that slides your request over to the KDC and catches the reply like it's catching feelings. no cap, it's giving errand-runner energy and honestly? we're obsessed. πŸŽ€


✨ NAME ✨

shishi_kdcreq_sendrecv β€” API function πŸ’…


🌸 SYNOPSIS 🌸

#include <shishi.h>

int shishi_kdcreq_sendrecv(Shishi * handle, Shishi_asn1 kdcreq,
       Shishi_asn1 * kdcrep);

like. that's the whole vibe right there. πŸ¦‹


🫢 ARGUMENTS 🫢

  • Shishi * handle β€” your Shishi library handle, the one you already made with shishi_init(). it's the main character of the whole operation, lowkey. πŸ‘‘
  • Shishi_asn1 kdcreq β€” an input variable holding a prepared AS-REQ. you gotta bring the request, bestie, she doesn't make it for you. πŸ’œ
  • Shishi_asn1 * kdcrep β€” an output pointer variable that comes back holding the received AS-REP. yes, a pointer to a pointer situation, we love a little indirection moment. ⭐

πŸ’« DESCRIPTION πŸ’«

Sends a request to the KDC, and receives the response. that's the whole job description, fr fr.

the AS-REQ you hand over in kdcreq sets all the data for the request β€” every bit of it, no crumbs left behind. πŸ“

and on reception? the reply gets decoded as an AS-REP into kdcrep. decoded, translated, delivered. iconic behaviour honestly. ✨


πŸ”₯ RETURN VALUE πŸ”₯

the return code tells you which timeline you're in:

  • SHISHI_OK β€” success. slay. everything ate. πŸ’…
  • SHISHI_KDC_TIMEOUT β€” it timed out. the KDC was not replying and we felt that. 😭
  • SHISHI_ASN1_ERROR β€” translation errors happened. the ASN.1 was not translating, bestie. πŸ’€
  • SHISHI_GOT_KRBERROR β€” for other corruptions. yeah. other corruptions. we don't talk about those. πŸ™ˆ

🌈 REPORTING BUGS 🌈

found a bug? do NOT suffer in silence, tell the people:

be a good citizen and actually report it, okay? the maintainers are people too 🫢

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: you can copy it, you can remix it, just 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, the command

info shishi

should give you access to the complete manual. go read it, it's giving encyclopedia but make it cute. πŸ“šβœ¨


and that's the page!! this was shishi version 1.0.3, page shishi_kdcreq_sendrecv(3) in section 3 of the manual. mwah, bye bestie πŸ’‹πŸ¦‹πŸŒΈ